MCPcopy
hub / github.com/methodofaction/Method-Draw / mkElem

Function mkElem

src/js/lib/jquery.jgraduate.js:151–156  ·  view source on GitHub ↗
(name, attrs, newparent)

Source from the content-addressed store, hash-verified

149}
150
151function mkElem(name, attrs, newparent) {
152 var elem = document.createElementNS(ns.svg, name);
153 setAttrs(elem, attrs);
154 if(newparent) newparent.appendChild(elem);
155 return elem;
156}
157
158jQuery.fn.jGraduate =
159 function(options) {

Callers 2

mkStopFunction · 0.85

Calls 1

setAttrsFunction · 0.85

Tested by

no test coverage detected