From a89c90cfdc0cfcf91e14dab17445f464664cc8c1 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Thu, 17 Oct 2013 07:56:31 +0100 Subject: [PATCH] fix syntax error - that's what i get for comitting untested code when tired... --- code/map_data_cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/map_data_cache.js b/code/map_data_cache.js index a03e33de..bdd18228 100644 --- a/code/map_data_cache.js +++ b/code/map_data_cache.js @@ -38,7 +38,7 @@ window.DataCache.prototype.store = function(qk,data,freshTime) { if (freshTime===undefined) freshTime = this.REQUEST_CACHE_FRESH_AGE*1000; 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) {