2019-01-03 22:30:27 +00:00
|
|
|
// log version
|
2018-12-27 18:41:40 +00:00
|
|
|
console.log("nightTab v", version.get(), "loaded");
|
2019-01-03 22:30:27 +00:00
|
|
|
|
2019-01-06 15:47:08 +00:00
|
|
|
// check for old versions
|
|
|
|
data.init();
|
|
|
|
|
2019-01-03 22:30:27 +00:00
|
|
|
// bind and update controls
|
|
|
|
// render states
|
|
|
|
state.init();
|
|
|
|
|
|
|
|
// restore bookmarks
|
|
|
|
bookmarks.init();
|
|
|
|
|
2019-01-06 15:47:08 +00:00
|
|
|
// close menu if left open
|
2019-02-03 13:51:54 +00:00
|
|
|
// bind menu tabs
|
2019-01-06 15:47:08 +00:00
|
|
|
menu.init();
|
|
|
|
|
2019-01-03 22:30:27 +00:00
|
|
|
// render css accent var
|
2019-04-01 15:11:39 +00:00
|
|
|
accent.init();
|
2019-01-03 22:30:27 +00:00
|
|
|
|
|
|
|
// render links from bookmarks
|
|
|
|
link.init();
|
|
|
|
|
|
|
|
// bind controls
|
|
|
|
// render checkboxes and radios
|
|
|
|
// render states
|
2018-12-26 07:45:53 +00:00
|
|
|
control.init();
|
2019-01-03 22:30:27 +00:00
|
|
|
|
2019-03-25 23:31:51 +00:00
|
|
|
// render date
|
|
|
|
// bind date update
|
|
|
|
greeting.init();
|
|
|
|
|
2019-01-05 20:57:21 +00:00
|
|
|
// render date
|
|
|
|
// bind date update
|
|
|
|
date.init();
|
|
|
|
|
2019-01-03 22:30:27 +00:00
|
|
|
// render clock
|
|
|
|
// bind clock update
|
2018-12-26 07:45:53 +00:00
|
|
|
clock.init();
|
2019-01-03 22:30:27 +00:00
|
|
|
|
|
|
|
// bind keyboard keys
|
|
|
|
keyboard.init();
|
|
|
|
|
2019-01-06 07:06:33 +00:00
|
|
|
// bind tips
|
|
|
|
tip.init();
|
|
|
|
|
2019-01-03 22:30:27 +00:00
|
|
|
// render header height padding
|
|
|
|
header.init();
|
2019-01-24 20:28:11 +00:00
|
|
|
|
|
|
|
// render background image
|
|
|
|
background.init();
|
2019-01-24 23:21:00 +00:00
|
|
|
|
|
|
|
// bind search box
|
|
|
|
// render search engine
|
|
|
|
// focus seach input
|
|
|
|
search.init();
|
2019-02-03 15:18:45 +00:00
|
|
|
|
|
|
|
// render page title
|
|
|
|
title.init();
|