From 4f2ee9ba021e46940cc247a90f35cb0ba4b379e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 13 Jan 2021 22:49:02 +0100 Subject: Note some javascript functions as private. --- static/input_list.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/input_list.js b/static/input_list.js index 9397e6ee..7cfbc080 100644 --- a/static/input_list.js +++ b/static/input_list.js @@ -9,6 +9,7 @@ */ +/* private */ function transferListeners(old_unit, new_unit) { for (let [o, n] of zip([old_unit, ...old_unit.querySelectorAll("*")], [new_unit, ...new_unit.querySelectorAll("*")])) { @@ -22,6 +23,7 @@ function transferListeners(old_unit, new_unit) { } +/* private */ function advance_final(input_list) { let old_unit = input_list.unit; let new_unit = old_unit.cloneNode(true); @@ -31,7 +33,7 @@ function advance_final(input_list) { } - +/* private */ function update_inline_list () { /* can target self */ -- cgit v1.2.3