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..145877733467364b07a98fb6192605c6a61e868a 100644 |
--- a/tools/dom/templates/html/impl/impl_SVGElement.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_SVGElement.darttemplate |
@@ -31,7 +31,7 @@ class _AttributeClassSet extends CssClassSet { |
} |
} |
-/// @domName $DOMNAME |
+@DomName("$DOMNAME") |
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
factory $CLASSNAME.tag(String tag) => |
_$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_tag(tag); |
@@ -88,17 +88,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."); |
} |