Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: pkg/polymer/lib/src/loader.dart

Issue 132403010: big update to observe, template_binding, polymer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698