| Index: tools/dom/templates/html/impl/impl_Node.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| index 7fa868c346e204ad954970f95ef5c0edbb3be184..12204671d8d64ef96e651e4fba444cdb6cc9e18e 100644
|
| --- a/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| @@ -182,27 +182,6 @@ $endif
|
| Node operator[](int index) => _this.childNodes[index];
|
| }
|
|
|
| -/** Information about the instantiated template. */
|
| -class TemplateInstance {
|
| - // TODO(rafaelw): firstNode & lastNode should be read-synchronous
|
| - // in cases where script has modified the template instance boundary.
|
| -
|
| - /** The first node of this template instantiation. */
|
| - final Node firstNode;
|
| -
|
| - /**
|
| - * The last node of this template instantiation.
|
| - * This could be identical to [firstNode] if the template only expanded to a
|
| - * single node.
|
| - */
|
| - final Node lastNode;
|
| -
|
| - /** The model used to instantiate the template. */
|
| - final model;
|
| -
|
| - TemplateInstance(this.firstNode, this.lastNode, this.model);
|
| -}
|
| -
|
|
|
| $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
|
|
| @@ -280,52 +259,6 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| */
|
| String toString() => nodeValue == null ? super.toString() : nodeValue;
|
|
|
| -
|
| - /**
|
| - * Creates a binding to the attribute [name] to the [path] of the [model].
|
| - *
|
| - * This can be overridden by custom elements to provide the binding used in
|
| - * [Node.bind]. This will only create the binding; it will not add it to
|
| - * [bindings].
|
| - *
|
| - * You should not need to call this directly except from [Node.bind].
|
| - */
|
| - @Experimental()
|
| - createBinding(String name, model, String path) =>
|
| - TemplateElement.mdvPackage(this).createBinding(name, model, path);
|
| -
|
| - /**
|
| - * Binds the attribute [name] to the [path] of the [model].
|
| - * Path is a String of accessors such as `foo.bar.baz`.
|
| - * Returns the `NodeBinding` instance.
|
| - */
|
| - @Experimental()
|
| - bind(String name, model, String path) =>
|
| - TemplateElement.mdvPackage(this).bind(name, model, path);
|
| -
|
| - /** Unbinds the attribute [name]. */
|
| - @Experimental()
|
| - void unbind(String name) {
|
| - TemplateElement.mdvPackage(this).unbind(name);
|
| - }
|
| -
|
| - /** Unbinds all bound attributes. */
|
| - @Experimental()
|
| - void unbindAll() {
|
| - TemplateElement.mdvPackage(this).unbindAll();
|
| - }
|
| -
|
| - /** Gets the data bindings that are associated with this node. */
|
| - @Experimental()
|
| - Map<String, dynamic> get bindings =>
|
| - TemplateElement.mdvPackage(this).bindings;
|
| -
|
| - /** Gets the template instance that instantiated this node, if any. */
|
| - @Experimental()
|
| - TemplateInstance get templateInstance =>
|
| - TemplateElement.mdvPackage(this).templateInstance;
|
| -
|
| -
|
| /**
|
| * Use ownerDocument instead.
|
| */
|
|
|