From cfc197038ff9709cca3708e71f5d291ae7d54b0a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 8 Mar 2018 16:47:50 +0300 Subject: js: enable strict mode --- js/index.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/index.js') 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) { -- cgit v1.2.3