- Update: Underscore copy; build files per Rollup/Babel updates

- npm: Update devDeps (babel, cypress, linting, mocha, rollup related)
This commit is contained in:
Brett Zamir
2020-03-07 17:45:59 +08:00
parent 623a8a715a
commit 231fdb2189
34 changed files with 1129 additions and 2069 deletions

View File

@@ -113,9 +113,7 @@
(function () {
if (!('SVGPathSeg' in window)) {
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSeg
var _SVGPathSeg =
/*#__PURE__*/
function () {
var _SVGPathSeg = /*#__PURE__*/function () {
function _SVGPathSeg(type, typeAsLetter, owningPathSegList) {
_classCallCheck(this, _SVGPathSeg);
@@ -159,9 +157,7 @@
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
_SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
var _SVGPathSegClosePath =
/*#__PURE__*/
function (_SVGPathSeg2) {
var _SVGPathSegClosePath = /*#__PURE__*/function (_SVGPathSeg2) {
_inherits(_SVGPathSegClosePath, _SVGPathSeg2);
function _SVGPathSegClosePath(owningPathSegList) {
@@ -190,9 +186,7 @@
return _SVGPathSegClosePath;
}(_SVGPathSeg);
var _SVGPathSegMovetoAbs =
/*#__PURE__*/
function (_SVGPathSeg3) {
var _SVGPathSegMovetoAbs = /*#__PURE__*/function (_SVGPathSeg3) {
_inherits(_SVGPathSegMovetoAbs, _SVGPathSeg3);
function _SVGPathSegMovetoAbs(owningPathSegList, x, y) {
@@ -251,9 +245,7 @@
}
});
var _SVGPathSegMovetoRel =
/*#__PURE__*/
function (_SVGPathSeg4) {
var _SVGPathSegMovetoRel = /*#__PURE__*/function (_SVGPathSeg4) {
_inherits(_SVGPathSegMovetoRel, _SVGPathSeg4);
function _SVGPathSegMovetoRel(owningPathSegList, x, y) {
@@ -312,9 +304,7 @@
}
});
var _SVGPathSegLinetoAbs =
/*#__PURE__*/
function (_SVGPathSeg5) {
var _SVGPathSegLinetoAbs = /*#__PURE__*/function (_SVGPathSeg5) {
_inherits(_SVGPathSegLinetoAbs, _SVGPathSeg5);
function _SVGPathSegLinetoAbs(owningPathSegList, x, y) {
@@ -373,9 +363,7 @@
}
});
var _SVGPathSegLinetoRel =
/*#__PURE__*/
function (_SVGPathSeg6) {
var _SVGPathSegLinetoRel = /*#__PURE__*/function (_SVGPathSeg6) {
_inherits(_SVGPathSegLinetoRel, _SVGPathSeg6);
function _SVGPathSegLinetoRel(owningPathSegList, x, y) {
@@ -434,9 +422,7 @@
}
});
var _SVGPathSegCurvetoCubicAbs =
/*#__PURE__*/
function (_SVGPathSeg7) {
var _SVGPathSegCurvetoCubicAbs = /*#__PURE__*/function (_SVGPathSeg7) {
_inherits(_SVGPathSegCurvetoCubicAbs, _SVGPathSeg7);
function _SVGPathSegCurvetoCubicAbs(owningPathSegList, x, y, x1, y1, x2, y2) {
@@ -543,9 +529,7 @@
}
});
var _SVGPathSegCurvetoCubicRel =
/*#__PURE__*/
function (_SVGPathSeg8) {
var _SVGPathSegCurvetoCubicRel = /*#__PURE__*/function (_SVGPathSeg8) {
_inherits(_SVGPathSegCurvetoCubicRel, _SVGPathSeg8);
function _SVGPathSegCurvetoCubicRel(owningPathSegList, x, y, x1, y1, x2, y2) {
@@ -652,9 +636,7 @@
}
});
var _SVGPathSegCurvetoQuadraticAbs =
/*#__PURE__*/
function (_SVGPathSeg9) {
var _SVGPathSegCurvetoQuadraticAbs = /*#__PURE__*/function (_SVGPathSeg9) {
_inherits(_SVGPathSegCurvetoQuadraticAbs, _SVGPathSeg9);
function _SVGPathSegCurvetoQuadraticAbs(owningPathSegList, x, y, x1, y1) {
@@ -737,9 +719,7 @@
}
});
var _SVGPathSegCurvetoQuadraticRel =
/*#__PURE__*/
function (_SVGPathSeg10) {
var _SVGPathSegCurvetoQuadraticRel = /*#__PURE__*/function (_SVGPathSeg10) {
_inherits(_SVGPathSegCurvetoQuadraticRel, _SVGPathSeg10);
function _SVGPathSegCurvetoQuadraticRel(owningPathSegList, x, y, x1, y1) {
@@ -822,9 +802,7 @@
}
});
var _SVGPathSegArcAbs =
/*#__PURE__*/
function (_SVGPathSeg11) {
var _SVGPathSegArcAbs = /*#__PURE__*/function (_SVGPathSeg11) {
_inherits(_SVGPathSegArcAbs, _SVGPathSeg11);
function _SVGPathSegArcAbs(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
@@ -943,9 +921,7 @@
}
});
var _SVGPathSegArcRel =
/*#__PURE__*/
function (_SVGPathSeg12) {
var _SVGPathSegArcRel = /*#__PURE__*/function (_SVGPathSeg12) {
_inherits(_SVGPathSegArcRel, _SVGPathSeg12);
function _SVGPathSegArcRel(owningPathSegList, x, y, r1, r2, angle, largeArcFlag, sweepFlag) {
@@ -1064,9 +1040,7 @@
}
});
var _SVGPathSegLinetoHorizontalAbs =
/*#__PURE__*/
function (_SVGPathSeg13) {
var _SVGPathSegLinetoHorizontalAbs = /*#__PURE__*/function (_SVGPathSeg13) {
_inherits(_SVGPathSegLinetoHorizontalAbs, _SVGPathSeg13);
function _SVGPathSegLinetoHorizontalAbs(owningPathSegList, x) {
@@ -1111,9 +1085,7 @@
enumerable: true
});
var _SVGPathSegLinetoHorizontalRel =
/*#__PURE__*/
function (_SVGPathSeg14) {
var _SVGPathSegLinetoHorizontalRel = /*#__PURE__*/function (_SVGPathSeg14) {
_inherits(_SVGPathSegLinetoHorizontalRel, _SVGPathSeg14);
function _SVGPathSegLinetoHorizontalRel(owningPathSegList, x) {
@@ -1158,9 +1130,7 @@
enumerable: true
});
var _SVGPathSegLinetoVerticalAbs =
/*#__PURE__*/
function (_SVGPathSeg15) {
var _SVGPathSegLinetoVerticalAbs = /*#__PURE__*/function (_SVGPathSeg15) {
_inherits(_SVGPathSegLinetoVerticalAbs, _SVGPathSeg15);
function _SVGPathSegLinetoVerticalAbs(owningPathSegList, y) {
@@ -1205,9 +1175,7 @@
enumerable: true
});
var _SVGPathSegLinetoVerticalRel =
/*#__PURE__*/
function (_SVGPathSeg16) {
var _SVGPathSegLinetoVerticalRel = /*#__PURE__*/function (_SVGPathSeg16) {
_inherits(_SVGPathSegLinetoVerticalRel, _SVGPathSeg16);
function _SVGPathSegLinetoVerticalRel(owningPathSegList, y) {
@@ -1252,9 +1220,7 @@
enumerable: true
});
var _SVGPathSegCurvetoCubicSmoothAbs =
/*#__PURE__*/
function (_SVGPathSeg17) {
var _SVGPathSegCurvetoCubicSmoothAbs = /*#__PURE__*/function (_SVGPathSeg17) {
_inherits(_SVGPathSegCurvetoCubicSmoothAbs, _SVGPathSeg17);
function _SVGPathSegCurvetoCubicSmoothAbs(owningPathSegList, x, y, x2, y2) {
@@ -1337,9 +1303,7 @@
}
});
var _SVGPathSegCurvetoCubicSmoothRel =
/*#__PURE__*/
function (_SVGPathSeg18) {
var _SVGPathSegCurvetoCubicSmoothRel = /*#__PURE__*/function (_SVGPathSeg18) {
_inherits(_SVGPathSegCurvetoCubicSmoothRel, _SVGPathSeg18);
function _SVGPathSegCurvetoCubicSmoothRel(owningPathSegList, x, y, x2, y2) {
@@ -1422,9 +1386,7 @@
}
});
var _SVGPathSegCurvetoQuadraticSmoothAbs =
/*#__PURE__*/
function (_SVGPathSeg19) {
var _SVGPathSegCurvetoQuadraticSmoothAbs = /*#__PURE__*/function (_SVGPathSeg19) {
_inherits(_SVGPathSegCurvetoQuadraticSmoothAbs, _SVGPathSeg19);
function _SVGPathSegCurvetoQuadraticSmoothAbs(owningPathSegList, x, y) {
@@ -1483,9 +1445,7 @@
}
});
var _SVGPathSegCurvetoQuadraticSmoothRel =
/*#__PURE__*/
function (_SVGPathSeg20) {
var _SVGPathSegCurvetoQuadraticSmoothRel = /*#__PURE__*/function (_SVGPathSeg20) {
_inherits(_SVGPathSegCurvetoQuadraticSmoothRel, _SVGPathSeg20);
function _SVGPathSegCurvetoQuadraticSmoothRel(owningPathSegList, x, y) {
@@ -1681,9 +1641,7 @@
if (!('SVGPathSegList' in window) || !('appendItem' in window.SVGPathSegList.prototype)) {
// Spec: https://www.w3.org/TR/SVG11/single-page.html#paths-InterfaceSVGPathSegList
var SVGPathSegList =
/*#__PURE__*/
function () {
var SVGPathSegList = /*#__PURE__*/function () {
function SVGPathSegList(pathElement) {
_classCallCheck(this, SVGPathSegList);
@@ -1867,9 +1825,7 @@
var owningPathSegList = this; // eslint-disable-line consistent-this
var Builder =
/*#__PURE__*/
function () {
var Builder = /*#__PURE__*/function () {
function Builder() {
_classCallCheck(this, Builder);
@@ -1886,9 +1842,7 @@
return Builder;
}();
var Source =
/*#__PURE__*/
function () {
var Source = /*#__PURE__*/function () {
function Source(string) {
_classCallCheck(this, Source);