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

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

Issue 307793002: update polymer, nodebind, and templatebinding (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | « pkg/polymer/lib/src/js/polymer/polymer.js.map ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/loader.dart
diff --git a/pkg/polymer/lib/src/loader.dart b/pkg/polymer/lib/src/loader.dart
index 089af9241f9f10246581bbc6c31f57ea5661172f..0417bcb5d4a3855322f890a448ae76c3a21a35b4 100644
--- a/pkg/polymer/lib/src/loader.dart
+++ b/pkg/polymer/lib/src/loader.dart
@@ -60,6 +60,10 @@ void startPolymer(List<Function> initializers, [bool deployMode = true]) {
'Please check that the list of entry points in your pubspec.yaml '
'is correct. If you are using pub-serve, you may need to restart it.';
}
+
+ Polymer.registerSync('d-auto-binding', AutoBindingElement,
+ extendsTag: 'template');
+
for (var initializer in initializers) {
initializer();
}
@@ -97,7 +101,7 @@ void _hookJsPolymer() {
var zone = Zone.current;
polymerJs.callMethod('whenPolymerReady',
- [zone.bindCallback(() => Polymer._ready.complete())]);
+ [zone.bindCallback(() => Polymer._onReady.complete())]);
var polyElem = document.createElement('polymer-element');
var proto = new JsObject.fromBrowserObject(polyElem)['__proto__'];
« no previous file with comments | « pkg/polymer/lib/src/js/polymer/polymer.js.map ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698