Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1350)

Unified Diff: lib/dom/templates/html/impl/impl_NodeList.darttemplate

Issue 10928060: Partially migrate from old getter syntax to new one. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/dom/templates/html/impl/impl_NodeList.darttemplate
diff --git a/lib/dom/templates/html/impl/impl_NodeList.darttemplate b/lib/dom/templates/html/impl/impl_NodeList.darttemplate
index df60d5b20817414097be440e23cd5aef82ed56f2..6d67b1deecbcc88b2fe0b311440180602b700733 100644
--- a/lib/dom/templates/html/impl/impl_NodeList.darttemplate
+++ b/lib/dom/templates/html/impl/impl_NodeList.darttemplate
@@ -23,7 +23,7 @@ class _ListWrapper<E> implements List<E> {
bool isEmpty() => _list.isEmpty();
- int get length() => _list.length;
+ int get length => _list.length;
E operator [](int index) => _list[index];
@@ -62,7 +62,7 @@ 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];
+ E get first => _list[0];
}
/**
@@ -152,7 +152,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
_Lists.lastIndexOf(this, element, start);
Node last() => this[length - 1];
- Node get first() => this[0];
+ Node get first => this[0];
// FIXME: implement thesee.
void setRange(int start, int rangeLength, List<Node> from, [int startFrom]) {
« no previous file with comments | « lib/dom/templates/html/impl/impl_Node.darttemplate ('k') | lib/dom/templates/html/impl/impl_SVGElement.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698