Index: sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate b/sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate |
index 95bbddcec52a3fe1bc6112c8384c5e7a77b998ee..f54e47546e90309b218c8a0931367d75fdfae94f 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate |
@@ -52,6 +52,8 @@ class _ListWrapper<E> implements List<E> { |
E removeLast() => _list.removeLast(); |
+ E get first => _list.first; |
+ |
E get last => _list.last; |
List<E> getRange(int start, int rangeLength) => |
@@ -65,8 +67,6 @@ class _ListWrapper<E> implements List<E> { |
void insertRange(int start, int rangeLength, [E initialValue = null]) => |
_list.insertRange(start, rangeLength, initialValue); |
- |
- E get first => _list[0]; |
} |
/** |