nightTab/js/init.js

43 lines
652 B
JavaScript
Raw Normal View History

// log version
2018-12-27 18:41:40 +00:00
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
2018-12-26 07:45:53 +00:00
theme.init();
// render links from bookmarks
link.init();
// bind controls
// render checkboxes and radios
// render states
2018-12-26 07:45:53 +00:00
control.init();
// bind search box
// render search engine
2018-12-26 07:45:53 +00:00
search.init();
2019-01-05 20:57:21 +00:00
// render date
// bind date update
date.init();
// render clock
// bind clock update
2018-12-26 07:45:53 +00:00
clock.init();
// bind keyboard keys
keyboard.init();
// render header height padding
header.init();