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