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 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 |