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

Unified Diff: samples/third_party/dromaeo/tests/dom-traverse-html.dart

Issue 12596004: Replaced Element.append with Node.appendChild (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
« no previous file with comments | « samples/third_party/dromaeo/tests/dom-query-html.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/dromaeo/tests/dom-traverse-html.dart
diff --git a/samples/third_party/dromaeo/tests/dom-traverse-html.dart b/samples/third_party/dromaeo/tests/dom-traverse-html.dart
index 9472a61c5735f71e112a063994cd839c93746289..39f370d49ac07fb2dd5dec19907b17b059da526a 100644
--- a/samples/third_party/dromaeo/tests/dom-traverse-html.dart
+++ b/samples/third_party/dromaeo/tests/dom-traverse-html.dart
@@ -32,7 +32,7 @@ void main() {
final div = new Element.tag('div');
div.innerHtml = html;
- document.body.$dom_appendChild(div);
+ document.body.append(div);
})
.test('firstChild', () {
final nodes = document.body.$dom_childNodes;
« no previous file with comments | « samples/third_party/dromaeo/tests/dom-query-html.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698