| 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 307cd0cea96e329577874641d1b269bf174c973d..9367f9fd8a8268dc547d0a3812d9e7e625fc11f1 100644
|
| --- a/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| @@ -83,6 +83,15 @@ $endif
|
| }
|
| }
|
|
|
| + void insertAt(int index, Node node) {
|
| + if (index < 0 || index > length) throw RangeError(index);
|
| + if (index == length) {
|
| + _this.$dom_appendChild(node);
|
| + } else {
|
| + throw new UnimplementedError("insertAt on NodeLists");
|
| + }
|
| + }
|
| +
|
| Node removeLast() {
|
| final result = last;
|
| if (result != null) {
|
|
|