diff --git a/src/lib/dom-module.html b/src/lib/dom-module.html index 468e55bf24..64616892f5 100644 --- a/src/lib/dom-module.html +++ b/src/lib/dom-module.html @@ -95,6 +95,15 @@ // loaded by this point. In addition the HTMLImports polyfill should be // changed to upgrade elements prior to running any scripts.) var cePolyfill = window.CustomElements && !CustomElements.useNative; + // NOTE: Under polyfilled CE/HI, if script and html are separate, then + // for dom modules to be found, script should be executed as follows: + // HTMLImports.whenReady(function() { + // CustomElements.ready = false; + // // registrations + // CustomElements.upgradeDocumentTree(document); + // CustomElements.ready = true; + // }); + // TODO(sorvell): A webcomponentsjs method should be added for this. document.registerElement('dom-module', DomModule); function forceDomModulesUpgrade() { diff --git a/src/standard/utils.html b/src/standard/utils.html index 2f2d82ff86..e574d1745c 100644 --- a/src/standard/utils.html +++ b/src/standard/utils.html @@ -9,6 +9,7 @@ --> +