opal/inesita/component/render.rb in inesita-0.6.0.beta.1 vs opal/inesita/component/render.rb in inesita-0.6.0
- old
+ new
@@ -17,10 +17,11 @@
def render_virtual_dom
before_render
@cache_component_counter = 0
@__virtual_nodes__ = []
- render.to_vnode
+ render
+ to_vnode
end
end
end
end