lib/hot_module/petite.rb in hot_module-1.0.0.alpha9 vs lib/hot_module/petite.rb in hot_module-1.0.0.alpha10
- old
+ new
@@ -21,10 +21,10 @@
expression = node["v-for"].split(delimiter)
process_list(
attribute: attribute,
node: node,
- item_node: node.children[0].element_children.first,
+ item_node: node.children[0].first_element_child,
for_in: expression
)
end
def _petite_text_binding(attribute:, node:)