Revision 826b4fd8
Added by koszko about 2 years ago
html/options_main.js | ||
---|---|---|
13 | 13 |
* IMPORT list_prefixes |
14 | 14 |
* IMPORT nice_name |
15 | 15 |
* IMPORT parse_json_with_schema |
16 |
* IMPORT get_template |
|
16 | 17 |
* IMPORT by_id |
17 | 18 |
* IMPORT matchers |
18 | 19 |
* IMPORT get_import_frame |
... | ... | |
21 | 22 |
|
22 | 23 |
var storage; |
23 | 24 |
|
24 |
const item_li_template = by_id("item_li_template");
|
|
25 |
const bag_component_li_template = by_id("bag_component_li_template");
|
|
26 |
const chbx_component_li_template = by_id("chbx_component_li_template");
|
|
27 |
const radio_component_li_template = by_id("radio_component_li_template");
|
|
25 |
const item_li_template = get_template("item_li");
|
|
26 |
const bag_component_li_template = get_template("bag_component_li");
|
|
27 |
const chbx_component_li_template = get_template("chbx_component_li");
|
|
28 |
const radio_component_li_template = get_template("radio_component_li");
|
|
28 | 29 |
/* Make sure they are later cloned without id. */ |
29 | 30 |
item_li_template.removeAttribute("id"); |
30 | 31 |
bag_component_li_template.removeAttribute("id"); |
Also available in: Unified diff
start using `' tag