Skip to content

Commit

Permalink
make cache saltable
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Apr 24, 2013
1 parent 0bdff18 commit 4e4a2af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/HTMLImports.js
Expand Up @@ -13,6 +13,7 @@ var IMPORT_LINK_TYPE = 'import';

var HTMLImports = {
documents: {},
cache: {},
preloadSelectors: [
'link[rel=' + IMPORT_LINK_TYPE + ']',
'script[src]',
Expand All @@ -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);
},
Expand Down

0 comments on commit 4e4a2af

Please sign in to comment.