MCPcopy Create free account
hub / github.com/Vectorized/Aris / P

Function P

aris.js:822–829  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

820 var svgPath = function () {
821 var attrs = {d:''}, path = ['path', attrs], a = arguments, i, p, k,
822 P = function (command) {
823 return function() {
824 attrs.d += command;
825 for (var a = arguments, j = 0; j < a.length; ++j)
826 attrs.d += a[j] + ', '[j&1];
827 return path;
828 };
829 };
830 for (i = 0; i < a.length; i++) {
831 if (isObject(p = a[i])) {
832 p = {};

Callers 1

svgPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected