Sha256: 8e288e774b2566caf1168fec5d614f38a7539f94e03e0919e2ba9a731d2a566f
Contents?: true
Size: 544 Bytes
Versions: 25
Compression:
Stored size: 544 Bytes
Contents
var d3_selectionRoot = d3_selection([[document]]); d3_selectionRoot[0].parentNode = d3_selectRoot; // TODO fast singleton implementation! // TODO select(function) d3.select = function(selector) { return typeof selector === "string" ? d3_selectionRoot.select(selector) : d3_selection([[selector]]); // assume node }; // TODO selectAll(function) d3.selectAll = function(selector) { return typeof selector === "string" ? d3_selectionRoot.selectAll(selector) : d3_selection([d3_array(selector)]); // assume node[] };
Version data entries
25 entries across 25 versions & 1 rubygems