Skip to content

Commit

Permalink
add todos to remove the console.log messages later
Browse files Browse the repository at this point in the history
  • Loading branch information
peuter committed Nov 13, 2016
1 parent c13c6c0 commit 6f35560
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/TemplateEngine.js
Expand Up @@ -1057,11 +1057,13 @@ define([

// check if cache is still valid
if (!thisTemplateEngine.configCache.isValid(xml)) {
// TODO: remove before release
console.log("invalidating cache");
// cache invalid
cache = false;
thisTemplateEngine.configCache.clear();
} else {
// TODO: remove before release
console.log("using cache");
cache = thisTemplateEngine.configCache.getData();
thisTemplateEngine.widgetData = cache.data;
Expand All @@ -1073,6 +1075,7 @@ define([
}
}
if (!cache) {
// TODO: remove before release
console.log("not using cache");
var page = $('pages > page', xml)[0]; // only one page element allowed...

Expand Down

0 comments on commit 6f35560

Please sign in to comment.