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

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

Issue 11225054: Remove more () from getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge again. Created 8 years, 2 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/dart2js/html_dart2js.dart ('k') | lib/html/templates/html/dart2js/html_dart2js.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/systemhtml.py
diff --git a/lib/html/scripts/systemhtml.py b/lib/html/scripts/systemhtml.py
index fdcf37db578c9faffcc967b259f0135910da3405..c3ce245a308550bf18d3a2eae93dd6c37fa151c5 100644
--- a/lib/html/scripts/systemhtml.py
+++ b/lib/html/scripts/systemhtml.py
@@ -780,7 +780,7 @@ class Dart2JSBackend(object):
return_type = self._NarrowOutputType(attr.type.id)
self._members_emitter.Emit(
# TODO(sra): Use metadata to provide native name.
- '\n $TYPE get $HTML_NAME() => JS("$TYPE", "#.$NAME", this);'
+ '\n $TYPE get $HTML_NAME => JS("$TYPE", "#.$NAME", this);'
'\n',
HTML_NAME=html_name,
NAME=attr.id,
@@ -804,7 +804,7 @@ class Dart2JSBackend(object):
self._members_emitter.Emit(
# TODO(sra): Use metadata to provide native name.
'\n $RETURN_TYPE get $HTML_NAME => $CONVERT(this._$(HTML_NAME));'
- '\n $NATIVE_TYPE get _$HTML_NAME() =>'
+ '\n $NATIVE_TYPE get _$HTML_NAME =>'
' JS("$NATIVE_TYPE", "#.$NAME", this);'
'\n',
CONVERT=conversion.function_name,
« no previous file with comments | « lib/html/dart2js/html_dart2js.dart ('k') | lib/html/templates/html/dart2js/html_dart2js.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698