calendar looping

This commit is contained in:
martind2000 2016-05-03 21:59:55 +01:00
parent a18e86e1bc
commit 99231662e9
2 changed files with 7 additions and 7 deletions

View File

@ -21,7 +21,7 @@ require('sugar-date');
var todayCache = { var todayCache = {
last: 0, data: { last: 0, data: {
trains: {last: 0, data: []}, weather: {}, history: [], today: '', tv: {entries: []}, cal: {today: [], tomorrow:[], week:[]}, swedish: {}, fitbit: {} trains: {last: 0, data: []}, weather: {}, history: [], today: '', tv: {entries: []}, cal: {today: [], tomorrow: [], week: []}, swedish: {}, fitbit: {}
}, expire: ((60 * 1000) * 60) }, expire: ((60 * 1000) * 60)
}; };
var file = __dirname + '/' + 'newdata.json'; var file = __dirname + '/' + 'newdata.json';
@ -206,7 +206,7 @@ module.exports = {
}); });
} }
swedishWord.getSwedishWord() swedishWord.getSwedishWord()
.then((d) => { .then((d) => {
'use strict'; 'use strict';

View File

@ -9,12 +9,12 @@
"forecast.io": "0.0.9", "forecast.io": "0.0.9",
"htmlparser": "^1.7.7", "htmlparser": "^1.7.7",
"jade": "^1.11.0", "jade": "^1.11.0",
"jsonfile": "^2.2.3", "jsonfile": "^2.3.0",
"lodash": "^4.3.0", "lodash": "^4.11.2",
"log4js": "^0.6.31", "log4js": "^0.6.35",
"mammoth": "^0.3.25-pre.1", "mammoth": "^1.0.1",
"nano": "^6.2.0", "nano": "^6.2.0",
"request": "^2.67.0", "request": "^2.72.0",
"simple-weather": "^1.2.2", "simple-weather": "^1.2.2",
"sugar-date": "^1.5.1", "sugar-date": "^1.5.1",
"wordsoap": "^0.2.0", "wordsoap": "^0.2.0",