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

Unified Diff: samples/third_party/dromaeo/tests/dom-query-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
Index: samples/third_party/dromaeo/tests/dom-query-html.dart
diff --git a/samples/third_party/dromaeo/tests/dom-query-html.dart b/samples/third_party/dromaeo/tests/dom-query-html.dart
index 6281d025a2171cc893b23505caf2899dca913020..3df80969393336904aba0f86e6ca5249f9fe9b0b 100644
--- a/samples/third_party/dromaeo/tests/dom-query-html.dart
+++ b/samples/third_party/dromaeo/tests/dom-query-html.dart
@@ -29,7 +29,7 @@ void main() {
});
final div = new Element.tag('div');
div.innerHtml = html;
- document.body.$dom_appendChild(div);
+ document.body.append(div);
})
.test('getElementById', () {
for (int i = 0; i < num * 30; i++) {
« no previous file with comments | « samples/third_party/dromaeo/tests/dom-modify-html.dart ('k') | samples/third_party/dromaeo/tests/dom-traverse-html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698