2019-01-03 23:30:27 +01:00
|
|
|
// log version
|
2018-12-27 19:41:40 +01:00
|
|
|
console.log("nightTab v", version.get(), "loaded");
|
2019-01-03 23:30:27 +01:00
|
|
|
|
|
|
|
// 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
|
2018-12-26 08:45:53 +01:00
|
|
|
theme.init();
|
2019-01-03 23:30:27 +01:00
|
|
|
|
|
|
|
// render links from bookmarks
|
|
|
|
link.init();
|
|
|
|
|
|
|
|
// bind controls
|
|
|
|
// render checkboxes and radios
|
|
|
|
// render states
|
2018-12-26 08:45:53 +01:00
|
|
|
control.init();
|
2019-01-03 23:30:27 +01:00
|
|
|
|
|
|
|
// bind search box
|
|
|
|
// render search engine
|
2018-12-26 08:45:53 +01:00
|
|
|
search.init();
|
2019-01-03 23:30:27 +01:00
|
|
|
|
2019-01-05 21:57:21 +01:00
|
|
|
// render date
|
|
|
|
// bind date update
|
|
|
|
date.init();
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
// render clock
|
|
|
|
// bind clock update
|
2018-12-26 08:45:53 +01:00
|
|
|
clock.init();
|
2019-01-03 23:30:27 +01:00
|
|
|
|
|
|
|
// bind keyboard keys
|
|
|
|
keyboard.init();
|
|
|
|
|
|
|
|
// render header height padding
|
|
|
|
header.init();
|