lib/zafu/node_context.rb in zafu-0.8.5 vs lib/zafu/node_context.rb in zafu-0.8.6

- old
+ new

@@ -110,9 +110,14 @@ # none is found, it builds one. def dom_prefix @dom_prefix || (@up ? @up.dom_prefix : nil) end + # Return dom_prefix without looking up. + def raw_dom_prefix + @dom_prefix + end + # Mark the current context as being a looping element (each) whose DOM id needs to be propagated to sub-nodes # in order to ensure uniqueness of the dom_id (loops in loops problem). def propagate_dom_scope! @dom_scope = true end \ No newline at end of file