Sha256: 4ab656648e1d008bcb0c98107a84d0ae4b3d4a80798ac80a5bb501177af1baab
Contents?: true
Size: 547 Bytes
Versions: 25
Compression:
Stored size: 547 Bytes
Contents
// TODO insert(node, function)? // TODO insert(function, string)? // TODO insert(function, function)? d3_selectionPrototype.insert = function(name, before) { name = d3.ns.qualify(name); function insert() { return this.insertBefore( document.createElementNS(this.namespaceURI, name), d3_select(before, this)); } function insertNS() { return this.insertBefore( document.createElementNS(name.space, name.local), d3_select(before, this)); } return this.select(name.local ? insertNS : insert); };
Version data entries
25 entries across 25 versions & 1 rubygems