fix syntax error - that's what i get for comitting untested code when tired...

This commit is contained in:
Jon Atkins 2013-10-17 07:56:31 +01:00
parent 0c6629c6ed
commit a89c90cfdc

View File

@ -38,7 +38,7 @@ window.DataCache.prototype.store = function(qk,data,freshTime) {
if (freshTime===undefined) freshTime = this.REQUEST_CACHE_FRESH_AGE*1000; if (freshTime===undefined) freshTime = this.REQUEST_CACHE_FRESH_AGE*1000;
var expire = time + freshTime; var expire = time + freshTime;
this._cache[qk] = { time: time, expire: expire data: data }; this._cache[qk] = { time: time, expire: expire, data: data };
} }
window.DataCache.prototype.get = function(qk) { window.DataCache.prototype.get = function(qk) {