| Index: tools/dom/templates/html/impl/impl_Text.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Text.darttemplate b/tools/dom/templates/html/impl/impl_Text.darttemplate
|
| index 2675d8bc677850f05ed3f789fefee30f3a9eac9b..45fb72108f8599c34c9b70626d4271204d0840e4 100644
|
| --- a/tools/dom/templates/html/impl/impl_Text.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Text.darttemplate
|
| @@ -9,42 +9,4 @@ part of $LIBRARYNAME;
|
| $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| factory $CLASSNAME(String data) => document.$dom_createTextNode(data);
|
| $!MEMBERS
|
| -
|
| -$if DART2JS
|
| - @Creates('Null') // Set from Dart code; does not instantiate a native type.
|
| -$endif
|
| - StreamSubscription _textBinding;
|
| -
|
| - @Experimental
|
| - void bind(String name, model, String path) {
|
| - if (name != 'text') {
|
| - super.bind(name, model, path);
|
| - return;
|
| - }
|
| -
|
| - unbind('text');
|
| -
|
| - _textBinding = new PathObserver(model, path).bindSync((value) {
|
| - text = value == null ? '' : '$value';
|
| - });
|
| - }
|
| -
|
| - @Experimental
|
| - void unbind(String name) {
|
| - if (name != 'text') {
|
| - super.unbind(name);
|
| - return;
|
| - }
|
| -
|
| - if (_textBinding == null) return;
|
| -
|
| - _textBinding.cancel();
|
| - _textBinding = null;
|
| - }
|
| -
|
| - @Experimental
|
| - void unbindAll() {
|
| - unbind('text');
|
| - super.unbindAll();
|
| - }
|
| }
|
|
|