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

Unified Diff: tools/dom/scripts/systemhtml.py

Issue 12087112: Can now correctly add documentation to constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
Index: tools/dom/scripts/systemhtml.py
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
index 1b0063a021da6d04ba96bf7ae71595381fb232da..a9f4b8477f9355219b877d776979a8c5f568ff86 100644
--- a/tools/dom/scripts/systemhtml.py
+++ b/tools/dom/scripts/systemhtml.py
@@ -406,8 +406,8 @@ class HtmlDartInterfaceGenerator(object):
implements_str = ' implements ' + ', '.join(set(implements))
annotations = FormatAnnotationsAndComments(
- GetAnnotationsAndComments(self._interface.doc_js_name,
- library_name=self._library_name), '')
+ GetAnnotationsAndComments(self._library_name,
+ self._interface.doc_js_name), '')
self._implementation_members_emitter = implementation_emitter.Emit(
self._backend.ImplementationTemplate(),
@@ -897,8 +897,9 @@ class Dart2JSBackend(HtmlDartGenerator):
return ''
def _Annotations(self, idl_type, idl_member_name, indent=' '):
- anns = FindDart2JSAnnotationsAndComments(idl_type, self._interface.id,
- idl_member_name, self._library_name)
+ anns = FindDart2JSAnnotationsAndComments(idl_type, self._library_name,
+ self._interface.id,
+ idl_member_name)
if not AnyConversionAnnotations(idl_type, self._interface.id,
idl_member_name):

Powered by Google App Engine
This is Rietveld 408576698