Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
explose HTMLImports.ready flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Oct 3, 2013
1 parent 3ac00f3 commit 78cb8b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function bootstrap() {
// preload document resource trees
HTMLImports.importer.load(document, function() {
HTMLImports.parser.parse(document);
HTMLImports.ready = true;
HTMLImports.readyTime = new Date().getTime();
// send HTMLImportsLoaded when finished
document.dispatchEvent(
Expand Down

0 comments on commit 78cb8b6

Please sign in to comment.