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..0dae0c359081aabddea61051d1f5321884505c13 100644 |
--- a/tools/dom/templates/html/dart2js/impl_Window.darttemplate |
+++ b/tools/dom/templates/html/dart2js/impl_Window.darttemplate |
@@ -4,7 +4,7 @@ |
part of html; |
-/// @domName $DOMNAME |
+@DomName("$DOMNAME") |
class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" { |
Document get document => JS('Document', '#.document', this); |
@@ -80,7 +80,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 +157,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 |