Permalink
Browse files

add some primitive timing data

  • Loading branch information...
sjmiles committed May 6, 2013
1 parent 995c4d3 commit 414b70756d05fcf6b344c942163e5d6a777c4f5c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/HTMLImports.js
View
@@ -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})

0 comments on commit 414b707

Please sign in to comment.