Permalink
Browse files

make cache saltable

  • Loading branch information...
sorvell committed Apr 24, 2013
1 parent 0bdff18 commit 4e4a2afb03803e55f5b12149ffaa5704ca50e0e6
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/HTMLImports.js
View
@@ -13,6 +13,7 @@ var IMPORT_LINK_TYPE = 'import';
var HTMLImports = {
documents: {},
+ cache: {},
preloadSelectors: [
'link[rel=' + IMPORT_LINK_TYPE + ']',
'script[src]',
@@ -22,7 +23,7 @@ var HTMLImports = {
// construct a loader instance
loader = new Loader(HTMLImports.loaded, inNext);
// alias the loader cache (for debugging)
- HTMLImports.cache = loader.cache;
+ loader.cache = HTMLImports.cache;
// add nodes from document into loader queue
HTMLImports.preload(inDocument);
},

0 comments on commit 4e4a2af

Please sign in to comment.