46 lines
678 B
JavaScript
46 lines
678 B
JavaScript
// 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();
|
|
|
|
// bind tips
|
|
tip.init();
|
|
|
|
// render header height padding
|
|
header.init();
|