Index: client/html/generated/html/frog/Node.dart |
diff --git a/client/html/generated/html/frog/Node.dart b/client/html/generated/html/frog/Node.dart |
index f345dad48d0a52c0be934a52f20d4506460c76fa..e7d3afbcfe0ef13b7f2cf11a543b0e680908ee3e 100644 |
--- a/client/html/generated/html/frog/Node.dart |
+++ b/client/html/generated/html/frog/Node.dart |
@@ -13,8 +13,10 @@ class _NodeImpl extends _EventTargetImpl implements Node native "*Node" { |
// Copy list first since we don't want liveness during iteration. |
// TODO(jacobr): there is a better way to do this. |
List copy = new List.from(value); |
- nodes.clear(); |
- nodes.addAll(copy); |
+ text = ''; |
+ for (Node node in copy) { |
+ _appendChild(node); |
+ } |
} |
// TODO(jacobr): should we throw an exception if parent is already null? |