summaryrefslogtreecommitdiff
path: root/js/index.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-03-08 16:47:50 +0300
committerAndrew Dolgov <[email protected]>2018-03-08 16:47:50 +0300
commitcfc197038ff9709cca3708e71f5d291ae7d54b0a (patch)
tree676962dd0c1bf642f97bb0ba11b21094815ad1fb /js/index.js
parent59ddd75559d9a31b9870fcda06fbb8d1abe4627b (diff)
js: enable strict mode
Diffstat (limited to 'js/index.js')
-rw-r--r--js/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/index.js b/js/index.js
index 785dc32..b6ec4ee 100644
--- a/js/index.js
+++ b/js/index.js
@@ -1,3 +1,5 @@
+'use strict';
+
function cache_refresh(force) {
if ('serviceWorker' in navigator) {
localforage.getItem("epube.cache-timestamp").then(function(stamp) {