* updated SVGPathCommander
* fixed small typo issue with SVGDraw
* version bump
This commit is contained in:
thednp 2021-01-09 13:31:00 +00:00
parent 14585d7a51
commit bfc3fabc92
11 changed files with 31 additions and 31 deletions

View file

@ -1,6 +1,6 @@
/*!
* KUTE.js Base v2.0.16 (http://thednp.github.io/kute.js)
* Copyright 2015-2020 © thednp
* KUTE.js Base v2.1.0 (http://thednp.github.io/kute.js)
* Copyright 2015-2021 © thednp
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
*/
(function (global, factory) {
@ -9,7 +9,7 @@
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.KUTE = factory());
}(this, (function () { 'use strict';
var version = "2.0.16";
var version = "2.1.0";
var KUTE = {};

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
/*!
* KUTE.js Extra v2.0.16 (http://thednp.github.io/kute.js)
* Copyright 2015-2020 © thednp
* KUTE.js Extra v2.1.0 (http://thednp.github.io/kute.js)
* Copyright 2015-2021 © thednp
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
*/
(function (global, factory) {
@ -9,7 +9,7 @@
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.KUTE = factory());
}(this, (function () { 'use strict';
var version = "2.0.16";
var version = "2.1.0";
var KUTE = {};
@ -1496,7 +1496,7 @@
return getCircleLength(el);
} else if ('ellipse'===el.tagName) {
return getEllipseLength(el);
} else if (['polygon,polyline'].indexOf(el.tagName)>-1) {
} else if (['polygon','polyline'].indexOf(el.tagName)>-1) {
return getPolyLength(el);
} else if ('line'===el.tagName) {
return getLineLength(el);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
dist/kute.esm.js vendored
View file

@ -1,9 +1,9 @@
/*!
* KUTE.js Standard v2.0.16 (http://thednp.github.io/kute.js)
* Copyright 2015-2020 © thednp
* KUTE.js Standard v2.1.0 (http://thednp.github.io/kute.js)
* Copyright 2015-2021 © thednp
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
*/
var version = "2.0.16";
var version = "2.1.0";
var KUTE = {};
@ -1379,7 +1379,7 @@ function getTotalLength(el) {
return getCircleLength(el);
} else if ('ellipse'===el.tagName) {
return getEllipseLength(el);
} else if (['polygon,polyline'].indexOf(el.tagName)>-1) {
} else if (['polygon','polyline'].indexOf(el.tagName)>-1) {
return getPolyLength(el);
} else if ('line'===el.tagName) {
return getLineLength(el);

File diff suppressed because one or more lines are too long

8
dist/kute.js vendored
View file

@ -1,6 +1,6 @@
/*!
* KUTE.js Standard v2.0.16 (http://thednp.github.io/kute.js)
* Copyright 2015-2020 © thednp
* KUTE.js Standard v2.1.0 (http://thednp.github.io/kute.js)
* Copyright 2015-2021 © thednp
* Licensed under MIT (https://github.com/thednp/kute.js/blob/master/LICENSE)
*/
(function (global, factory) {
@ -9,7 +9,7 @@
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.KUTE = factory());
}(this, (function () { 'use strict';
var version = "2.0.16";
var version = "2.1.0";
var KUTE = {};
@ -1385,7 +1385,7 @@
return getCircleLength(el);
} else if ('ellipse'===el.tagName) {
return getEllipseLength(el);
} else if (['polygon,polyline'].indexOf(el.tagName)>-1) {
} else if (['polygon','polyline'].indexOf(el.tagName)>-1) {
return getPolyLength(el);
} else if ('line'===el.tagName) {
return getLineLength(el);

4
dist/kute.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "kute.js",
"version": "2.0.16",
"version": "2.1.0",
"description": "JavaScript animation engine of the future is called KUTE.js.",
"main": "dist/kute.min.js",
"module": "dist/kute.esm.js",
@ -56,16 +56,16 @@
"dependencies": {
"cubic-bezier-easing": "^1.0.2",
"minifill": "^0.0.14",
"shorter-js": "^0.1.4",
"svg-path-commander": "0.0.9"
"shorter-js": "^0.1.7",
"svg-path-commander": "0.1.0"
},
"devDependencies": {
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"npm-run-all": "^4.1.5",
"rollup": "^2.28.1",
"rollup-plugin-cleanup": "^3.1.1",
"rollup": "^2.36.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-terser": "^7.0.2"
}
}

View file

@ -72,7 +72,7 @@ function getTotalLength(el) { // returns the result of any of the below function
return getCircleLength(el);
} else if ('ellipse'===el.tagName) {
return getEllipseLength(el);
} else if (['polygon,polyline'].indexOf(el.tagName)>-1) {
} else if (['polygon','polyline'].indexOf(el.tagName)>-1) {
return getPolyLength(el);
} else if ('line'===el.tagName) {
return getLineLength(el);