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

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: 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
« no previous file with comments | « lib/polymer.dart ('k') | lib/src/emitters.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/polymer_element.dart
diff --git a/lib/polymer_element.dart b/lib/polymer_element.dart
index 8f06f501a347bdff36a540cd9ffeaf20f0567f54..f08adb12afaa21facbcaf19f18f8393398914da0 100644
--- a/lib/polymer_element.dart
+++ b/lib/polymer_element.dart
@@ -8,10 +8,10 @@ import 'dart:async';
import 'dart:html';
import 'dart:mirrors';
+import 'package:custom_element/custom_element.dart';
import 'package:mdv/mdv.dart' as mdv;
import 'package:observe/observe.dart';
-import 'custom_element.dart';
import 'observe.dart';
import 'src/utils_observe.dart' show toCamelCase, toHyphenedName;
@@ -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));
}
}
« no previous file with comments | « lib/polymer.dart ('k') | lib/src/emitters.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698