Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Quickcorp committed May 10, 2018
1 parent f051994 commit 8ea2271
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions QCObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@
};

if (component.cached){
logger.debug('USING CACHE FOR COMPONENT: '+component.name);
var cache = new ComplexStorageCache({
'index': component.data,
'load': function(cacheController) {
Expand All @@ -756,6 +757,7 @@
});
GLOBAL.lastCache = cache;
} else {
logger.debug('NOT USING CACHE FOR COMPONENT: '+component.name);
_directLoad.call(this);
}

Expand Down

0 comments on commit 8ea2271

Please sign in to comment.