lib/hyperloop/d3/mixin.rb in hyper-d3-1.0.0.lap26 vs lib/hyperloop/d3/mixin.rb in hyper-d3-1.0.0.lap27
- old
+ new
@@ -10,9 +10,13 @@
def _set_dom_node(dom_node)
@_dom_node = dom_node
end
+ def data
+ @_data
+ end
+
def selection
if @_dom_node
selection = ::D3.select(@_dom_node)
else
raise "No DOM Node available for D3::Selection"
\ No newline at end of file