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

Unified Diff: sdk/lib/html/templates/html/impl/impl_Element.darttemplate

Issue 11418075: Dartifying members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: 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 d475ddfc6e313c3ca491175cb02f49070014e9e9..ca918b1b6094c69ca605e7c9c567d22d5900974c 100644
--- a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
@@ -603,7 +603,7 @@ abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
* last child of this.
*/
void addHtml(String text) {
- this.insertAdjacentHTML('beforeend', text);
+ this.insertAdjacentHtml('beforeend', text);
}
// Hooks to support custom WebComponents.
@@ -652,15 +652,15 @@ $if DART2JS
native 'insertAdjacentText';
/** @domName Element.insertAdjacentHTML */
- void insertAdjacentHTML(String where, String text) {
- if (JS('bool', '!!#.insertAdjacentHTML', this)) {
- _insertAdjacentHTML(where, text);
+ void insertAdjacentHtml(String where, String text) {
+ if (JS('bool', '!!#.insertAdjacentHtml', this)) {
+ _insertAdjacentHtml(where, text);
} else {
_insertAdjacentNode(where, new DocumentFragment.html(text));
}
}
- void _insertAdjacentHTML(String where, String text)
+ void _insertAdjacentHtml(String where, String text)
native 'insertAdjacentHTML';
/** @domName Element.insertAdjacentHTML */
@@ -738,7 +738,7 @@ class _ElementFactoryProvider {
}
}
final Element temp = new Element.tag(parentTag);
- temp.innerHTML = html;
+ temp.innerHtml = html;
Element element;
if (temp.children.length == 1) {

Powered by Google App Engine
This is Rietveld 408576698