nightTab/js/init.js

57 lines
840 B
JavaScript
Raw Normal View History

// log version
2018-12-27 18:41:40 +00:00
console.log("nightTab v", version.get(), "loaded");
2019-01-06 15:47:08 +00:00
// check for old versions
data.init();
// 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
// bind menu tabs
2019-01-06 15:47:08 +00:00
menu.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();
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();
2019-01-06 07:06:33 +00:00
// bind tips
tip.init();
// render header height padding
header.init();
// render background image
background.init();
// bind search box
// render search engine
// focus seach input
search.init();
// render page title
title.init();