Skip to content

Commit

Permalink
add some primitive timing data
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott J. Miles committed May 6, 2013
1 parent 995c4d3 commit 414b707
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HTMLImports.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ window.addEventListener('load', function() {
// TODO(sjmiles): ShadowDOM polyfill pollution
var doc = window.ShadowDOMPolyfill ? ShadowDOMPolyfill.wrap(document)
: document;
HTMLImports.readyTime = new Date().getTime();
// send HTMLImportsLoaded when finished
doc.body.dispatchEvent(
new CustomEvent('HTMLImportsLoaded', {bubbles: true})
Expand Down

0 comments on commit 414b707

Please sign in to comment.