Chromium Code Reviews| Index: sdk/lib/html/templates/html/dart2js/impl_Navigator.darttemplate |
| diff --git a/sdk/lib/html/templates/dart2js_impl.darttemplate b/sdk/lib/html/templates/html/dart2js/impl_Navigator.darttemplate |
| similarity index 67% |
| copy from sdk/lib/html/templates/dart2js_impl.darttemplate |
| copy to sdk/lib/html/templates/html/dart2js/impl_Navigator.darttemplate |
| index 5c62c0e1b17fad38a846d13a910f39acc673abdb..ca2e9bff533adab6379f4d133514d4dd24773292 100644 |
| --- a/sdk/lib/html/templates/dart2js_impl.darttemplate |
| +++ b/sdk/lib/html/templates/html/dart2js/impl_Navigator.darttemplate |
| @@ -6,4 +6,9 @@ part of $LIBRARYNAME; |
| /// @domName $DOMNAME; @docsEditable true |
| class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| -$!MEMBERS} |
| + |
| + /// @domName Navigator.language; @docsEditable true |
| + String get language() => JS('String', '#.language || #.userLanguage', this, |
|
blois
2012/12/03 20:42:05
no parens for getters!
Emily Fortuna
2012/12/03 20:50:47
oh man. why do I keep doing this!!
thanks.
|
| + this); |
| + $!MEMBERS |
| +} |