fix syntax error - that's what i get for comitting untested code when tired...
This commit is contained in:
parent
0c6629c6ed
commit
a89c90cfdc
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user