Index: sdk/lib/html/scripts/htmldartgenerator.py |
diff --git a/sdk/lib/html/scripts/htmldartgenerator.py b/sdk/lib/html/scripts/htmldartgenerator.py |
index 0e109da0f5c80143b3a1f4fee86b4b455e34569d..45d122d04c835f07a7c9056b41b01b16b935dfe2 100644 |
--- a/sdk/lib/html/scripts/htmldartgenerator.py |
+++ b/sdk/lib/html/scripts/htmldartgenerator.py |
@@ -32,14 +32,16 @@ class HtmlDartGenerator(object): |
""" Emits the MDN dartdoc comment for an attribute. |
""" |
dom_name = DartDomNameOfAttribute(attribute) |
- self._members_emitter.Emit('\n /** @domName $DOMINTERFACE.$DOMNAME */', |
+ self._members_emitter.Emit('\n /** @domName $DOMINTERFACE.$DOMNAME;' |
+ ' @docsEditable true */', |
DOMINTERFACE=attribute.doc_js_interface_name, |
DOMNAME=dom_name) |
def EmitOperationDocumentation(self, operation): |
""" Emits the MDN dartdoc comment for an operation. |
""" |
- self._members_emitter.Emit('\n /** @domName $DOMINTERFACE.$DOMNAME */', |
+ self._members_emitter.Emit('\n /** @domName $DOMINTERFACE.$DOMNAME;' |
blois
2012/11/20 21:01:53
Semi-colon delimiter? Aren't these normally just o
|
+ ' @docsEditable true */', |
DOMINTERFACE=operation.overloads[0].doc_js_interface_name, |
DOMNAME=operation.name) |
@@ -47,7 +49,8 @@ class HtmlDartGenerator(object): |
self._members_emitter.Emit( |
'\n /**' |
'\n * @domName EventTarget.addEventListener, ' |
- 'EventTarget.removeEventListener, EventTarget.dispatchEvent' |
+ 'EventTarget.removeEventListener, EventTarget.dispatchEvent;' |
+ ' @docsEditable true' |
'\n */' |
'\n $TYPE get on =>\n new $TYPE(this);\n', |
TYPE=events_class_name) |