Big caching improvements :D

This commit is contained in:
Caleb James DeLisle
2017-08-22 15:50:10 +02:00
parent 4f3b4a30ee
commit d9f5e3638e
10 changed files with 56 additions and 22 deletions

View File

@@ -21,5 +21,7 @@ define([
}
};
Object.keys(ApiConfig.requireConf).forEach(function (k) { out[k] = ApiConfig.requireConf[k]; });
return out;
return function () {
return JSON.parse(JSON.stringify(out));
};
});