Changes:
* updated SVGPathCommander * fixed small typo issue with SVGDraw * version bump
This commit is contained in:
parent
14585d7a51
commit
bfc3fabc92
|
@ -1,6 +1,6 @@
|
||||||
/*!
|
/*!
|
||||||
* KUTE.js Base v2.0.16 (http://thednp.github.io/kute.js)
|
* KUTE.js Base v2.1.0 (http://thednp.github.io/kute.js)
|
||||||
* Copyright 2015-2020 © thednp
|
* Copyright 2015-2021 © thednp
|
||||||
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
|
||||||
*/
|
*/
|
||||||
(function (global, factory) {
|
(function (global, factory) {
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.KUTE = factory());
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.KUTE = factory());
|
||||||
}(this, (function () { 'use strict';
|
}(this, (function () { 'use strict';
|
||||||
|
|
||||||
var version = "2.0.16";
|
var version = "2.1.0";
|
||||||
|
|
||||||
var KUTE = {};
|
var KUTE = {};
|
||||||
|
|
||||||
|
|
4
demo/src/kute-base.min.js
vendored
4
demo/src/kute-base.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
/*!
|
/*!
|
||||||
* KUTE.js Extra v2.0.16 (http://thednp.github.io/kute.js)
|
* KUTE.js Extra v2.1.0 (http://thednp.github.io/kute.js)
|
||||||
* Copyright 2015-2020 © thednp
|
* Copyright 2015-2021 © thednp
|
||||||
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
|
||||||
*/
|
*/
|
||||||
(function (global, factory) {
|
(function (global, factory) {
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.KUTE = factory());
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.KUTE = factory());
|
||||||
}(this, (function () { 'use strict';
|
}(this, (function () { 'use strict';
|
||||||
|
|
||||||
var version = "2.0.16";
|
var version = "2.1.0";
|
||||||
|
|
||||||
var KUTE = {};
|
var KUTE = {};
|
||||||
|
|
||||||
|
@ -1496,7 +1496,7 @@
|
||||||
return getCircleLength(el);
|
return getCircleLength(el);
|
||||||
} else if ('ellipse'===el.tagName) {
|
} else if ('ellipse'===el.tagName) {
|
||||||
return getEllipseLength(el);
|
return getEllipseLength(el);
|
||||||
} else if (['polygon,polyline'].indexOf(el.tagName)>-1) {
|
} else if (['polygon','polyline'].indexOf(el.tagName)>-1) {
|
||||||
return getPolyLength(el);
|
return getPolyLength(el);
|
||||||
} else if ('line'===el.tagName) {
|
} else if ('line'===el.tagName) {
|
||||||
return getLineLength(el);
|
return getLineLength(el);
|
||||||
|
|
4
demo/src/kute-extra.min.js
vendored
4
demo/src/kute-extra.min.js
vendored
File diff suppressed because one or more lines are too long
4
demo/src/kute.min.js
vendored
4
demo/src/kute.min.js
vendored
File diff suppressed because one or more lines are too long
8
dist/kute.esm.js
vendored
8
dist/kute.esm.js
vendored
|
@ -1,9 +1,9 @@
|
||||||
/*!
|
/*!
|
||||||
* KUTE.js Standard v2.0.16 (http://thednp.github.io/kute.js)
|
* KUTE.js Standard v2.1.0 (http://thednp.github.io/kute.js)
|
||||||
* Copyright 2015-2020 © thednp
|
* Copyright 2015-2021 © thednp
|
||||||
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
|
||||||
*/
|
*/
|
||||||
var version = "2.0.16";
|
var version = "2.1.0";
|
||||||
|
|
||||||
var KUTE = {};
|
var KUTE = {};
|
||||||
|
|
||||||
|
@ -1379,7 +1379,7 @@ function getTotalLength(el) {
|
||||||
return getCircleLength(el);
|
return getCircleLength(el);
|
||||||
} else if ('ellipse'===el.tagName) {
|
} else if ('ellipse'===el.tagName) {
|
||||||
return getEllipseLength(el);
|
return getEllipseLength(el);
|
||||||
} else if (['polygon,polyline'].indexOf(el.tagName)>-1) {
|
} else if (['polygon','polyline'].indexOf(el.tagName)>-1) {
|
||||||
return getPolyLength(el);
|
return getPolyLength(el);
|
||||||
} else if ('line'===el.tagName) {
|
} else if ('line'===el.tagName) {
|
||||||
return getLineLength(el);
|
return getLineLength(el);
|
||||||
|
|
4
dist/kute.esm.min.js
vendored
4
dist/kute.esm.min.js
vendored
File diff suppressed because one or more lines are too long
8
dist/kute.js
vendored
8
dist/kute.js
vendored
|
@ -1,6 +1,6 @@
|
||||||
/*!
|
/*!
|
||||||
* KUTE.js Standard v2.0.16 (http://thednp.github.io/kute.js)
|
* KUTE.js Standard v2.1.0 (http://thednp.github.io/kute.js)
|
||||||
* Copyright 2015-2020 © thednp
|
* Copyright 2015-2021 © thednp
|
||||||
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
|
||||||
*/
|
*/
|
||||||
(function (global, factory) {
|
(function (global, factory) {
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.KUTE = factory());
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.KUTE = factory());
|
||||||
}(this, (function () { 'use strict';
|
}(this, (function () { 'use strict';
|
||||||
|
|
||||||
var version = "2.0.16";
|
var version = "2.1.0";
|
||||||
|
|
||||||
var KUTE = {};
|
var KUTE = {};
|
||||||
|
|
||||||
|
@ -1385,7 +1385,7 @@
|
||||||
return getCircleLength(el);
|
return getCircleLength(el);
|
||||||
} else if ('ellipse'===el.tagName) {
|
} else if ('ellipse'===el.tagName) {
|
||||||
return getEllipseLength(el);
|
return getEllipseLength(el);
|
||||||
} else if (['polygon,polyline'].indexOf(el.tagName)>-1) {
|
} else if (['polygon','polyline'].indexOf(el.tagName)>-1) {
|
||||||
return getPolyLength(el);
|
return getPolyLength(el);
|
||||||
} else if ('line'===el.tagName) {
|
} else if ('line'===el.tagName) {
|
||||||
return getLineLength(el);
|
return getLineLength(el);
|
||||||
|
|
4
dist/kute.min.js
vendored
4
dist/kute.min.js
vendored
File diff suppressed because one or more lines are too long
10
package.json
10
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "kute.js",
|
"name": "kute.js",
|
||||||
"version": "2.0.16",
|
"version": "2.1.0",
|
||||||
"description": "JavaScript animation engine of the future is called KUTE.js.",
|
"description": "JavaScript animation engine of the future is called KUTE.js.",
|
||||||
"main": "dist/kute.min.js",
|
"main": "dist/kute.min.js",
|
||||||
"module": "dist/kute.esm.js",
|
"module": "dist/kute.esm.js",
|
||||||
|
@ -56,16 +56,16 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cubic-bezier-easing": "^1.0.2",
|
"cubic-bezier-easing": "^1.0.2",
|
||||||
"minifill": "^0.0.14",
|
"minifill": "^0.0.14",
|
||||||
"shorter-js": "^0.1.4",
|
"shorter-js": "^0.1.7",
|
||||||
"svg-path-commander": "0.0.9"
|
"svg-path-commander": "0.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-buble": "^0.21.3",
|
"@rollup/plugin-buble": "^0.21.3",
|
||||||
"@rollup/plugin-json": "^4.1.0",
|
"@rollup/plugin-json": "^4.1.0",
|
||||||
"@rollup/plugin-node-resolve": "^9.0.0",
|
"@rollup/plugin-node-resolve": "^9.0.0",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"rollup": "^2.28.1",
|
"rollup": "^2.36.1",
|
||||||
"rollup-plugin-cleanup": "^3.1.1",
|
"rollup-plugin-cleanup": "^3.2.1",
|
||||||
"rollup-plugin-terser": "^7.0.2"
|
"rollup-plugin-terser": "^7.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,7 +72,7 @@ function getTotalLength(el) { // returns the result of any of the below function
|
||||||
return getCircleLength(el);
|
return getCircleLength(el);
|
||||||
} else if ('ellipse'===el.tagName) {
|
} else if ('ellipse'===el.tagName) {
|
||||||
return getEllipseLength(el);
|
return getEllipseLength(el);
|
||||||
} else if (['polygon,polyline'].indexOf(el.tagName)>-1) {
|
} else if (['polygon','polyline'].indexOf(el.tagName)>-1) {
|
||||||
return getPolyLength(el);
|
return getPolyLength(el);
|
||||||
} else if ('line'===el.tagName) {
|
} else if ('line'===el.tagName) {
|
||||||
return getLineLength(el);
|
return getLineLength(el);
|
||||||
|
|
Loading…
Reference in a new issue