Index: dart/pkg/template_binding/test/utils.dart |
=================================================================== |
--- dart/pkg/template_binding/test/utils.dart (revision 37358) |
+++ dart/pkg/template_binding/test/utils.dart (working copy) |
@@ -105,9 +105,11 @@ |
void sanitizeTree(Node node) {} |
} |
-unbindAll(node) { |
- nodeBind(node).unbindAll(); |
+clearAllTemplates(node) { |
+ if (isSemanticTemplate(node)) { |
+ templateBind(node).clear(); |
+ } |
for (var child = node.firstChild; child != null; child = child.nextNode) { |
- unbindAll(child); |
+ clearAllTemplates(child); |
} |
} |