From 78cb8b66791c041ec5a41698b01e19d6c924bf78 Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Thu, 3 Oct 2013 14:14:57 -0700 Subject: [PATCH] explose HTMLImports.ready flag --- src/boot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/boot.js b/src/boot.js index 1520bbc..5a392b7 100644 --- a/src/boot.js +++ b/src/boot.js @@ -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(