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

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..0a1435eef7a2f5062361c5d7e463d84c80836a96 100644
--- a/pkg/polymer/lib/src/instance.dart
+++ b/pkg/polymer/lib/src/instance.dart
@@ -626,15 +626,7 @@ abstract class Polymer implements Element, Observable, NodeBindExtension {
_observers = null;
}
- /// Bind a [property] in this object to a [path] in model. *Note* in Dart it
Siggi Cherem (dart-lang) 2014/05/07 17:24:39 this [path] was marking the import as 'used', so t
- /// is necessary to also define the field:
- ///
- /// var myProperty;
- ///
- /// ready() {
- /// super.ready();
- /// bindProperty(#myProperty, this, 'myModel.path.to.otherProp');
Jennifer Messerly 2014/05/07 19:28:53 I fixed this code snippet in my port without remov
Siggi Cherem (dart-lang) 2014/05/07 19:34:48 Done
- /// }
+ /// Bind the [name] property in this element to [bindable].
Bindable bindProperty(Symbol name, Bindable bindable) {
// Dart note: normally we only reach this code when we know it's a
// property, but if someone uses bindProperty directly they might get 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