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

Unified Diff: tests/html/binding_syntax_test.dart

Issue 14883008: use .append instead of .nodes.add (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: revert node_test and element_test Created 7 years, 7 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 | « no previous file | tests/html/canvas_pixel_array_type_alias_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/binding_syntax_test.dart
diff --git a/tests/html/binding_syntax_test.dart b/tests/html/binding_syntax_test.dart
index 0aa77328064534f0ea7942d9f82946a2cda1cc89..4e89a0a375fb339eb7644652bab26c4a6bfd243b 100644
--- a/tests/html/binding_syntax_test.dart
+++ b/tests/html/binding_syntax_test.dart
@@ -24,7 +24,7 @@ syntaxTests() {
var testDiv;
setUp(() {
- document.body.nodes.add(testDiv = new DivElement());
+ document.body.append(testDiv = new DivElement());
});
tearDown(() {
@@ -35,7 +35,7 @@ syntaxTests() {
createTestHtml(s) {
var div = new DivElement();
div.innerHtml = s;
- testDiv.nodes.add(div);
+ testDiv.append(div);
for (var node in div.queryAll('*')) {
if (node.isTemplate) TemplateElement.decorate(node);
« no previous file with comments | « no previous file | tests/html/canvas_pixel_array_type_alias_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698