summaryrefslogtreecommitdiffstats
path: root/theme/javascript/gitbook.js
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2014-08-11 09:42:18 -0700
committerAaron O'Mullan <aaron.omullan@gmail.com>2014-08-11 09:42:18 -0700
commitd216661f2743385ea760b9993fdd46968e37ee42 (patch)
treede00bb67ffe5728f6175beb1ee0328354aa4f624 /theme/javascript/gitbook.js
parent74f95f4d0d404e6df533d056a5acab60623407c8 (diff)
parent50dfee99b6880da4be442bd43f475ae87a565c46 (diff)
downloadgitbook-d216661f2743385ea760b9993fdd46968e37ee42.zip
gitbook-d216661f2743385ea760b9993fdd46968e37ee42.tar.gz
gitbook-d216661f2743385ea760b9993fdd46968e37ee42.tar.bz2
Merge pull request #403 from GitbookIO/version/1.0.0
Version 1.0.0
Diffstat (limited to 'theme/javascript/gitbook.js')
-rwxr-xr-xtheme/javascript/gitbook.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/theme/javascript/gitbook.js b/theme/javascript/gitbook.js
index 579977c..5798dfa 100755
--- a/theme/javascript/gitbook.js
+++ b/theme/javascript/gitbook.js
@@ -2,7 +2,7 @@ define([
"jQuery",
"utils/storage",
"utils/sharing",
- "utils/appcache",
+ "utils/dropdown",
"core/events",
"core/font-settings",
@@ -12,7 +12,7 @@ define([
"core/progress",
"core/sidebar",
"core/search"
-], function($, storage, appCache, sharing, events, fontSettings, state, keyboard, navigation, progress, sidebar, search){
+], function($, storage, sharing, dropdown, events, fontSettings, state, keyboard, navigation, progress, sidebar, search){
var start = function(config) {
var $book;
$book = state.$book;
@@ -31,12 +31,12 @@ define([
// Init keyboard
keyboard.init();
- // Init appcache
- appCache.init();
-
// Bind sharing button
sharing.init();
+ // Bind dropdown
+ dropdown.init();
+
// Init navigation
navigation.init();
@@ -48,6 +48,7 @@ define([
return {
start: start,
- events: events
+ events: events,
+ state: state
};
});