forked from zombieFox/nightTab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.js
More file actions
42 lines (31 loc) · 652 Bytes
/
Copy pathinit.js
File metadata and controls
42 lines (31 loc) · 652 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// log version
console.log("nightTab v", version.get(), "loaded");
// bind and update controls
// render states
state.init();
// close menu if left open
menu.init();
// restore bookmarks
bookmarks.init();
// render input color value
// render css accent var
theme.init();
// render links from bookmarks
link.init();
// bind controls
// render checkboxes and radios
// render states
control.init();
// bind search box
// render search engine
search.init();
// render date
// bind date update
date.init();
// render clock
// bind clock update
clock.init();
// bind keyboard keys
keyboard.init();
// render header height padding
header.init();