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

Unified Diff: lib/polymer_element.dart

Issue 20863002: Introduce boot.js: this finally makes it possible to load and run Todomvc (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: review comments, fixed build.dart Created 7 years, 5 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: lib/polymer_element.dart
diff --git a/lib/polymer_element.dart b/lib/polymer_element.dart
index 8f06f501a347bdff36a540cd9ffeaf20f0567f54..d909bba6e6e80d178d1ca552daaca737471612b6 100644
--- a/lib/polymer_element.dart
+++ b/lib/polymer_element.dart
@@ -136,11 +136,8 @@ abstract class PolymerElement extends CustomElement with _EventsMixin {
root.nodes.add(cloneTemplate(templateNode.content));
// TODO(sigmund): use fancy-syntax as the default.
- var syntax = templateNode.attributes['syntax'];
-
// TODO(sigmund,jmesserly): mdv.bindModel should be async internally
- Timer.run(() => mdv.bindModel(root, this,
- syntax != null ? TemplateElement.syntax[syntax] : null));
+ Timer.run(() => mdv.bindModel(root, this));
}
}

Powered by Google App Engine
This is Rietveld 408576698