source: node_modules/d3-selection/src/selection/append.js@ e4c61dd

Last change on this file since e4c61dd was e4c61dd, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Prototype 1.1

  • Property mode set to 100644
File size: 238 bytes
Line 
1import creator from "../creator.js";
2
3export default function(name) {
4 var create = typeof name === "function" ? name : creator(name);
5 return this.select(function() {
6 return this.appendChild(create.apply(this, arguments));
7 });
8}
Note: See TracBrowser for help on using the repository browser.