Chromium Code Reviews| 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); |