| Index: lib/dom/templates/html/impl/impl_Node.darttemplate
|
| diff --git a/lib/dom/templates/html/impl/impl_Node.darttemplate b/lib/dom/templates/html/impl/impl_Node.darttemplate
|
| index e9ffda15c0bc56796fae16b2a13d4ba98740c176..019c59ce95ace16c7f617027a6cad98073cf6b2e 100644
|
| --- a/lib/dom/templates/html/impl/impl_Node.darttemplate
|
| +++ b/lib/dom/templates/html/impl/impl_Node.darttemplate
|
| @@ -14,8 +14,8 @@ class _ChildNodeListLazy implements NodeList {
|
|
|
|
|
| $if DART2JS
|
| - _NodeImpl get first() native "return this._this.firstChild;";
|
| - _NodeImpl last() native "return this._this.lastChild;";
|
| + _NodeImpl get first() => JS('_NodeImpl', '#.firstChild', _this);
|
| + _NodeImpl last() => JS('_NodeImpl', '#.lastChild', _this);
|
| $else
|
| _NodeImpl get first() => _this.$dom_firstChild;
|
| _NodeImpl last() => _this.$dom_lastChild;
|
|
|