mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
Update page when new version of application cache
This commit is contained in:
@@ -2,6 +2,7 @@ define([
|
||||
"jQuery",
|
||||
"utils/storage",
|
||||
"utils/sharing",
|
||||
"utils/appcache",
|
||||
|
||||
"core/events",
|
||||
"core/font-settings",
|
||||
@@ -11,7 +12,7 @@ define([
|
||||
"core/progress",
|
||||
"core/sidebar",
|
||||
"core/search"
|
||||
], function($, storage, sharing, events, fontSettings, state, keyboard, navigation, progress, sidebar, search){
|
||||
], function($, storage, appCache, sharing, events, fontSettings, state, keyboard, navigation, progress, sidebar, search){
|
||||
var start = function(config) {
|
||||
var $book;
|
||||
$book = state.$book;
|
||||
@@ -30,6 +31,9 @@ define([
|
||||
// Init keyboard
|
||||
keyboard.init();
|
||||
|
||||
// Init appcache
|
||||
appCache.init();
|
||||
|
||||
// Bind sharing button
|
||||
sharing.init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user