MCPcopy
hub / github.com/tdewolff/minify / extendFromString

Function extendFromString

_benchmarks/sample_echarts.js:13083–13096  ·  view source on GitHub ↗
(str, defaultOpts)

Source from the content-addressed store, hash-verified

13081 return new SVGPath(createPathOptions(str, opts));
13082 }
13083 function extendFromString(str, defaultOpts) {
13084 var innerOpts = createPathOptions(str, defaultOpts);
13085 var Sub = (function (_super) {
13086 __extends(Sub, _super);
13087 function Sub(opts) {
13088 var _this = _super.call(this, opts) || this;
13089 _this.applyTransform = innerOpts.applyTransform;
13090 _this.buildPath = innerOpts.buildPath;
13091 return _this;
13092 }
13093 return Sub;
13094 }(SVGPath));
13095 return Sub;
13096 }
13097 function mergePath(pathEls, opts) {
13098 var pathList = [];
13099 var len = pathEls.length;

Callers

nothing calls this directly

Calls 2

createPathOptionsFunction · 0.85
__extendsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…