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

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

Issue 420673002: Roll polymer packages to version 0.3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « pkg/polymer/lib/src/declaration.dart ('k') | pkg/polymer/lib/src/instance.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/events.dart
diff --git a/pkg/polymer/lib/src/events.dart b/pkg/polymer/lib/src/events.dart
index d41f1993845eea98d62f3daf77b4924f8265616e..ccf07861513ee26d3d4a6586cd810ce44d860f1d 100644
--- a/pkg/polymer/lib/src/events.dart
+++ b/pkg/polymer/lib/src/events.dart
@@ -17,7 +17,9 @@ class PolymerExpressions extends BindingDelegate with PolymerEventBindings {
/// Ideally we would inherit from it, but mixins can't be applied to a type
/// that forwards to a superclass with a constructor that has optional or
/// named arguments.
- final BindingDelegate _delegate;
+ final polymer_expressions.PolymerExpressions _delegate;
+
+ Map<String, Object> get globals => _delegate.globals;
PolymerExpressions({Map<String, Object> globals})
: _delegate = new polymer_expressions.PolymerExpressions(
@@ -35,6 +37,11 @@ class PolymerExpressions extends BindingDelegate with PolymerEventBindings {
prepareInstancePositionChanged(Element template) =>
_delegate.prepareInstancePositionChanged(template);
+
+ static final getExpression =
+ polymer_expressions.PolymerExpressions.getExpression;
+ static final getBinding = polymer_expressions.PolymerExpressions.getBinding;
+
}
/// A mixin for a [BindingDelegate] to add Polymer event support.
« no previous file with comments | « pkg/polymer/lib/src/declaration.dart ('k') | pkg/polymer/lib/src/instance.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698