2019-01-03 23:30:27 +01:00
|
|
|
// log version
|
2019-04-18 14:30:40 +02:00
|
|
|
console.log("nightTab version", version.get());
|
2019-01-03 23:30:27 +01:00
|
|
|
|
2019-01-06 16:47:08 +01:00
|
|
|
// check for old versions
|
|
|
|
data.init();
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
// bind and update controls
|
|
|
|
// render states
|
|
|
|
state.init();
|
|
|
|
|
|
|
|
// restore bookmarks
|
|
|
|
bookmarks.init();
|
|
|
|
|
2019-01-06 16:47:08 +01:00
|
|
|
// close menu if left open
|
2019-02-03 14:51:54 +01:00
|
|
|
// bind menu tabs
|
2019-01-06 16:47:08 +01:00
|
|
|
menu.init();
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
// render css accent var
|
2019-04-01 17:11:39 +02:00
|
|
|
accent.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
|
|
|
|
2019-03-26 00:31:51 +01:00
|
|
|
// render date
|
|
|
|
// bind date update
|
|
|
|
greeting.init();
|
|
|
|
|
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();
|
|
|
|
|
2019-01-06 08:06:33 +01:00
|
|
|
// bind tips
|
|
|
|
tip.init();
|
|
|
|
|
2019-04-03 13:47:41 +02:00
|
|
|
// render page title
|
|
|
|
layout.init();
|
|
|
|
|
2019-01-24 21:28:11 +01:00
|
|
|
// render background image
|
|
|
|
background.init();
|
2019-01-25 00:21:00 +01:00
|
|
|
|
|
|
|
// bind search box
|
|
|
|
// render search engine
|
|
|
|
// focus seach input
|
|
|
|
search.init();
|
2019-02-03 16:18:45 +01:00
|
|
|
|
|
|
|
// render page title
|
|
|
|
title.init();
|
2019-04-18 14:30:40 +02:00
|
|
|
|
|
|
|
// render header height padding
|
|
|
|
header.init();
|