Index: sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
index bae3ab0bb9b1a015a7903a5d26e6c8683d14512d..1ce2ff4e0b74b38d3a0d2bebbf9c574a95553e97 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
@@ -492,8 +492,8 @@ $if DART2JS |
} |
} |
- @JSName('insertAdjacentText') |
- void _insertAdjacentText(String where, String text) native; |
+ void _insertAdjacentText(String where, String text) |
+ native 'insertAdjacentText'; |
/** @domName Element.insertAdjacentHTML */ |
void insertAdjacentHtml(String where, String text) { |
@@ -504,8 +504,8 @@ $if DART2JS |
} |
} |
- @JSName('insertAdjacentHTML') |
- void _insertAdjacentHTML(String where, String text) native; |
+ void _insertAdjacentHtml(String where, String text) |
+ native 'insertAdjacentHTML'; |
/** @domName Element.insertAdjacentHTML */ |
Element insertAdjacentElement(String where, Element element) { |
@@ -517,8 +517,8 @@ $if DART2JS |
return element; |
} |
- @JSName('insertAdjacentElement') |
- void _insertAdjacentElement(String where, Element element) native; |
+ void _insertAdjacentElement(String where, Element element) |
+ native 'insertAdjacentElement'; |
void _insertAdjacentNode(String where, Node node) { |
switch (where.toLowerCase()) { |