Index: tools/dom/templates/html/dart2js/impl_Window.darttemplate |
diff --git a/tools/dom/templates/html/dart2js/impl_Window.darttemplate b/tools/dom/templates/html/dart2js/impl_Window.darttemplate |
index 93f988485ffab5e17a94a63ea9d88bfa097d4038..9e8674ba11721ac054a4dcc74b5c6ffce42f59e6 100644 |
--- a/tools/dom/templates/html/dart2js/impl_Window.darttemplate |
+++ b/tools/dom/templates/html/dart2js/impl_Window.darttemplate |
@@ -3,8 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
part of html; |
- |
-/// @domName $DOMNAME |
+$ANNOTATIONS |
class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" { |
Document get document => JS('Document', '#.document', this); |
@@ -80,7 +79,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" { |
_addMeasurementFrameCallback(callback); |
} |
- /** @domName DOMWindow.requestAnimationFrame */ |
+ @DomName('DOMWindow.requestAnimationFrame') |
int requestAnimationFrame(RequestAnimationFrameCallback callback) { |
_ensureRequestAnimationFrame(); |
return _requestAnimationFrame(callback); |
@@ -157,7 +156,8 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" { |
document.documentElement.attributes['dart-port:$name'] = json.stringify(serialized); |
} |
- /// @domName Window.console; @docsEditable true |
+ /// @docsEditable true |
+ @DomName('Window.console') |
Console get console => Console.safeConsole; |
$!MEMBERS |