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

Unified Diff: lib/html/scripts/systemdart2js.py

Issue 10907171: Migrate scripts to new getter syntax. (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
« no previous file with comments | « lib/html/scripts/css_code_generator.py ('k') | lib/html/scripts/systemhtml.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/systemdart2js.py
diff --git a/lib/html/scripts/systemdart2js.py b/lib/html/scripts/systemdart2js.py
index 4e53ded60754b577a22e3a0e6a878480280f7dd1..ba9db3116ad3401e41bdca05304405f2e32e062a 100644
--- a/lib/html/scripts/systemdart2js.py
+++ b/lib/html/scripts/systemdart2js.py
@@ -255,7 +255,7 @@ class Dart2JSInterfaceGenerator(BaseGenerator):
def _AddGetter(self, attr):
# TODO(sra): Remove native body when Issue 829 fixed.
self._members_emitter.Emit(
- '\n $(OPT_TYPE)get $NAME() native "return this.$NATIVE_NAME;";\n',
+ '\n $(OPT_TYPE)get $NAME native "return this.$NATIVE_NAME;";\n',
NAME=DartDomNameOfAttribute(attr),
NATIVE_NAME=attr.id,
OPT_TYPE=TypeOrNothing(self._NarrowOutputType(attr.type.id)))
@@ -324,7 +324,7 @@ class Dart2JSInterfaceGenerator(BaseGenerator):
def AddIndexer(self, element_type):
"""Adds all the methods required to complete implementation of List."""
# We would like to simply inherit the implementation of everything except
- # get length(), [], and maybe []=. It is possible to extend from a base
+ # length, [], and maybe []=. It is possible to extend from a base
# array implementation class only when there is no other implementation
# inheritance. There might be no implementation inheritance other than
# DOMBaseWrapper for many classes, but there might be some where the
« no previous file with comments | « lib/html/scripts/css_code_generator.py ('k') | lib/html/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698