Index: tools/dom/templates/html/impl/impl_SVGElement.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_SVGElement.darttemplate b/tools/dom/templates/html/impl/impl_SVGElement.darttemplate |
index ef3305dafe9f26005922636913baf1141632875c..cf03ecfb878afaccd4585935d4d2e722113a1fe3 100644 |
--- a/tools/dom/templates/html/impl/impl_SVGElement.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_SVGElement.darttemplate |
@@ -30,8 +30,7 @@ class _AttributeClassSet extends CssClassSet { |
_element.attributes['class'] = Strings.join(list, ' '); |
} |
} |
- |
-/// @domName $DOMNAME |
+$ANNOTATIONS |
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
factory $CLASSNAME.tag(String tag) => |
_$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_tag(tag); |
@@ -88,17 +87,17 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
// Unsupported methods inherited from Element. |
- /** @domName Element.insertAdjacentText */ |
+ @DomName('Element.insertAdjacentText') |
void insertAdjacentText(String where, String text) { |
throw new UnsupportedError("Cannot invoke insertAdjacentText on SVG."); |
} |
- /** @domName Element.insertAdjacentHTML */ |
+ @DomName('Element.insertAdjacentHTML') |
void insertAdjacentHtml(String where, String text) { |
throw new UnsupportedError("Cannot invoke insertAdjacentHtml on SVG."); |
} |
- /** @domName Element.insertAdjacentHTML */ |
+ @DomName('Element.insertAdjacentHTML') |
Element insertAdjacentElement(String where, Element element) { |
throw new UnsupportedError("Cannot invoke insertAdjacentElement on SVG."); |
} |