14c7e9d1 by Michael Richards

Loop over a frozen array of childNodes (we may mutate node.childNodes in the nex…

…t loop which would cause issues).
1 parent bd766b4f
...@@ -87,7 +87,7 @@ class Rivets.View ...@@ -87,7 +87,7 @@ class Rivets.View
87 type = attribute.name.replace bindingRegExp, '' 87 type = attribute.name.replace bindingRegExp, ''
88 buildBinding 'Binding', node, type, attribute.value 88 buildBinding 'Binding', node, type, attribute.value
89 89
90 parse childNode for childNode in node.childNodes 90 parse childNode for childNode in (n for n in node.childNodes)
91 91
92 parse el for el in @els 92 parse el for el in @els
93 93
......