aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hesla.es11
-rw-r--r--sworker.js2
2 files changed, 6 insertions, 7 deletions
diff --git a/hesla.es b/hesla.es
index 6545537..5db02e6 100644
--- a/hesla.es
+++ b/hesla.es
@@ -1,15 +1,14 @@
import {ActivePage} from "activePage";
if (!Date.prototype.toISODateString) {
- (function() {
+ Date.prototype.toISODateString = function() {
function pad(n) {
return n < 10 ? '0' + n : n;
}
- Date.prototype.toISODateString = function() {
- return this.getFullYear() + '-' + pad(this.getMonth() + 1) +
- '-' + pad(this.getDate());
- };
- }());
+
+ return this.getFullYear() + '-' + pad(this.getMonth() + 1) +
+ '-' + pad(this.getDate());
+ };
}
export class Hesla extends ActivePage {
diff --git a/sworker.js b/sworker.js
index 4d84107..7b64985 100644
--- a/sworker.js
+++ b/sworker.js
@@ -1,4 +1,4 @@
-var version = 'v38 - 2017-12-31';
+var version = 'v39 - 2017-01-07';
var toCache = [
'/',
'index.html',