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 f54e47546e90309b218c8a0931367d75fdfae94f..95bbddcec52a3fe1bc6112c8384c5e7a77b998ee 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_NodeList.darttemplate |
@@ -52,8 +52,6 @@ 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) => |
@@ -67,6 +65,8 @@ 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]; |
} |
/** |