Sha256: 7e6889d7843b1195d39bc160f2b2f69b421b3647f00a9c7a83d3eab969f33e4c
Contents?: true
Size: 544 Bytes
Versions: 4
Compression:
Stored size: 544 Bytes
Contents
import "../core/document"; import "../core/ns"; import "selection"; d3_selectionPrototype.append = function(name) { name = d3_selection_creator(name); return this.select(function() { return this.appendChild(name.apply(this, arguments)); }); }; function d3_selection_creator(name) { return typeof name === "function" ? name : (name = d3.ns.qualify(name)).local ? function() { return d3_document.createElementNS(name.space, name.local); } : function() { return d3_document.createElementNS(this.namespaceURI, name); }; }
Version data entries
4 entries across 4 versions & 2 rubygems