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

Commit

Permalink
update to new HTMLImports api.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Sep 30, 2014
1 parent 3e4b2e7 commit 68ac2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/html/ce-import.html
Expand Up @@ -30,7 +30,7 @@
link.rel = 'import';
link.href = 'element-import.html';
document.head.appendChild(link);
HTMLImports.whenImportsReady(function() {
HTMLImports.whenReady(function() {
chai.assert.isTrue(xfoo.isCreated, 'element in main document, registered in dynamic import is upgraded');
var ix = link.import.querySelector('x-foo');
chai.assert.isTrue(ix.isCreated, 'element in import, registered in dynamic import is upgraded');
Expand Down

0 comments on commit 68ac2d7

Please sign in to comment.