Index: pkg/polymer/lib/src/loader.dart |
diff --git a/pkg/polymer/lib/src/loader.dart b/pkg/polymer/lib/src/loader.dart |
index 28adf3dcf6832c511c0cb8c6125e50bf0b46e3f0..73dcb68e2610a73d5937e96126e626fc3269e6c7 100644 |
--- a/pkg/polymer/lib/src/loader.dart |
+++ b/pkg/polymer/lib/src/loader.dart |
@@ -47,8 +47,11 @@ Zone initPolymer() { |
* automatically invokes [Observable.dirtyCheck], and the list of libraries must |
* be supplied instead of being dynamically searched for at runtime. |
*/ |
-// TODO(jmesserly): change the Polymer build step to call this directly. |
void _initPolymerOptimized() { |
+ // TODO(jmesserly): there is some code in src/declaration/polymer-element.js, |
+ // git version 37eea00e13b9f86ab21c85a955585e8e4237e3d2, right before |
+ // it registers polymer-element, which uses Platform.deliverDeclarations to |
+ // coordinate with HTML Imports. I don't think we need it so skipping. |
document.register(PolymerDeclaration._TAG, PolymerDeclaration); |
_loadLibraries(); |