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

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

Issue 270693005: Remove unused import in polymer, fix comment. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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/polymer.dart ('k') | no next file » | 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 5abafe03bafc16fc9d31ec8fabe770a4b59eab8f..96c8698d2395b19f69a626cf01071d8172a0c8b1 100644
--- a/pkg/polymer/lib/src/instance.dart
+++ b/pkg/polymer/lib/src/instance.dart
@@ -626,14 +626,15 @@ abstract class Polymer implements Element, Observable, NodeBindExtension {
_observers = null;
}
- /// Bind a [property] in this object to a [path] in model. *Note* in Dart it
+ /// Bind the [name] property in this element to [bindable]. *Note* in Dart it
/// is necessary to also define the field:
///
/// var myProperty;
///
/// ready() {
/// super.ready();
- /// bindProperty(#myProperty, this, 'myModel.path.to.otherProp');
+ /// bindProperty(#myProperty,
+ /// new PathObserver(this, 'myModel.path.to.otherProp'));
/// }
Bindable bindProperty(Symbol name, Bindable bindable) {
// Dart note: normally we only reach this code when we know it's a
« no previous file with comments | « pkg/polymer/lib/polymer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698