From 1d5b16395fb0fee466724c13788a26af07af9342 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Sat, 3 Jul 2021 21:18:55 +0530 Subject: [PATCH] Export function Signed-off-by: RMidhunSuresh --- src/platform/web/ui/general/ListView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/ui/general/ListView.js b/src/platform/web/ui/general/ListView.js index 2e29996c..884eedc4 100644 --- a/src/platform/web/ui/general/ListView.js +++ b/src/platform/web/ui/general/ListView.js @@ -17,7 +17,7 @@ limitations under the License. import {el} from "./html.js"; import {mountView} from "./utils.js"; -function insertAt(parentNode, idx, childNode) { +export function insertAt(parentNode, idx, childNode) { const isLast = idx === parentNode.childElementCount; if (isLast) { parentNode.appendChild(childNode);