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

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

Issue 207433002: Changes in polymer-expressions to prepare for codegen in polymer: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address John's comments Created 6 years, 9 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 | « no previous file | pkg/polymer/test/prop_attr_bind_reflection_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/instance.dart
diff --git a/pkg/polymer/lib/src/instance.dart b/pkg/polymer/lib/src/instance.dart
index e2183513cdc5c4065efd57c4764e8b4f4e6e76ed..4226a1af97c1cbb1369d0844c2d0fa2b5f0ebc0b 100644
--- a/pkg/polymer/lib/src/instance.dart
+++ b/pkg/polymer/lib/src/instance.dart
@@ -81,7 +81,7 @@ abstract class Polymer implements Element, Observable, NodeBindExtension {
/// The one syntax to rule them all.
static final BindingDelegate _polymerSyntax =
- new _PolymerExpressionsWithEventDelegate();
+ new PolymerExpressionsWithEventDelegate();
static int _preparingElements = 0;
@@ -968,7 +968,10 @@ class _PropertyValue {
_PropertyValue(this.oldValue);
}
-class _PolymerExpressionsWithEventDelegate extends PolymerExpressions {
+class PolymerExpressionsWithEventDelegate extends PolymerExpressions {
+ PolymerExpressionsWithEventDelegate({Map<String, Object> globals})
Jennifer Messerly 2014/03/22 00:37:56 nice! suggestion: rename PolymerExpressionsWithEv
Siggi Cherem (dart-lang) 2014/03/22 00:57:42 good idea. Done
+ : super(globals: globals);
+
prepareBinding(String path, name, node) {
if (_hasEventPrefix(name)) return Polymer.prepareBinding(path, name, node);
return super.prepareBinding(path, name, node);
« no previous file with comments | « no previous file | pkg/polymer/test/prop_attr_bind_reflection_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698