63 lines
899 B
JavaScript
63 lines
899 B
JavaScript
// log version
|
|
console.log("nightTab version", version.get());
|
|
|
|
// check for old versions
|
|
data.init();
|
|
|
|
// bind and update controls
|
|
// render states
|
|
state.init();
|
|
|
|
// restore bookmarks
|
|
bookmarks.init();
|
|
|
|
// close menu if left open
|
|
// bind menu tabs
|
|
menu.init();
|
|
|
|
// render css accent var
|
|
accent.init();
|
|
|
|
// render links from bookmarks
|
|
link.init();
|
|
|
|
// bind controls
|
|
// render checkboxes and radios
|
|
// render states
|
|
control.init();
|
|
|
|
// render date
|
|
// bind date update
|
|
greeting.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 page title
|
|
layout.init();
|
|
|
|
// render background image
|
|
background.init();
|
|
|
|
// bind search box
|
|
// render search engine
|
|
// focus seach input
|
|
search.init();
|
|
|
|
// render page title
|
|
title.init();
|
|
|
|
// render header height padding
|
|
header.init();
|