mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-04 04:21:33 +00:00
Remove appCache handling from client js
This commit is contained in:
@@ -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
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user