diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2014-08-11 09:42:18 -0700 |
---|---|---|
committer | Aaron O'Mullan <aaron.omullan@gmail.com> | 2014-08-11 09:42:18 -0700 |
commit | d216661f2743385ea760b9993fdd46968e37ee42 (patch) | |
tree | de00bb67ffe5728f6175beb1ee0328354aa4f624 /theme/javascript/utils/appcache.js | |
parent | 74f95f4d0d404e6df533d056a5acab60623407c8 (diff) | |
parent | 50dfee99b6880da4be442bd43f475ae87a565c46 (diff) | |
download | gitbook-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/utils/appcache.js')
-rw-r--r-- | theme/javascript/utils/appcache.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/theme/javascript/utils/appcache.js b/theme/javascript/utils/appcache.js deleted file mode 100644 index e813ab0..0000000 --- a/theme/javascript/utils/appcache.js +++ /dev/null @@ -1,15 +0,0 @@ -define([], function() { - var isAvailable = (typeof applicationCache !== "undefined"); - - var init = function() { - if (!isAvailable) return; - - window.applicationCache.addEventListener('updateready', function() { - window.location.reload(); - }, false); - }; - - return { - init: init - }; -});
\ No newline at end of file |