diff --git a/build.js b/build.js index 280f431..bdc63ad 100644 --- a/build.js +++ b/build.js @@ -18,7 +18,6 @@ function replaceK(s) { if (/attr/.test(s)) { return 'Attributes Plugin'} if (/svg/.test(s)) { return 'SVG Plugin'} if (/css/.test(s)) { return 'CSS Plugin'} - if (/jq/.test(s)) { return 'jQuery Plugin'} if (/text/.test(s)) { return 'Text Plugin'} } else { return 'Core Engine'; @@ -40,7 +39,6 @@ function handleError(err) { // Minify files minify('kute-attr.js', 'dist/kute-attr.min.js'); minify('kute-css.js', 'dist/kute-css.min.js'); -minify('kute-jquery.js', 'dist/kute-jquery.min.js'); minify('kute-svg.js', 'dist/kute-svg.min.js'); minify('kute-text.js', 'dist/kute-text.min.js'); minify('kute.js', 'dist/kute.min.js'); @@ -48,7 +46,6 @@ minify('kute.js', 'dist/kute.min.js'); // Now also to the demo minify('kute-attr.js', 'demo/src/kute-attr.min.js'); minify('kute-css.js', 'demo/src/kute-css.min.js'); -minify('kute-jquery.js', 'demo/src/kute-jquery.min.js'); minify('kute-svg.js', 'demo/src/kute-svg.min.js'); minify('kute-text.js', 'demo/src/kute-text.min.js'); minify('kute.js', 'demo/src/kute.min.js'); diff --git a/demo/about.html b/demo/about.html index b3fa087..2f36480 100644 --- a/demo/about.html +++ b/demo/about.html @@ -227,7 +227,7 @@ diff --git a/demo/api.html b/demo/api.html index ecb2335..7323f18 100644 --- a/demo/api.html +++ b/demo/api.html @@ -246,7 +246,7 @@ tween2.chain(tweensCollection2.tweens); diff --git a/demo/attr.html b/demo/attr.html index b3568ad..e246687 100644 --- a/demo/attr.html +++ b/demo/attr.html @@ -190,7 +190,7 @@ var rotatingGradient = KUTE.to('#gradient', {attr: {x1:'49%', x2:'51%', y1:'51%' diff --git a/demo/css.html b/demo/css.html index a76e8ec..8748fb3 100644 --- a/demo/css.html +++ b/demo/css.html @@ -214,7 +214,7 @@ KUTE.to('selector1',{outlineColor:'#069'}).start(); diff --git a/demo/easing.html b/demo/easing.html index a72a647..c4e93c4 100644 --- a/demo/easing.html +++ b/demo/easing.html @@ -331,7 +331,7 @@ easing: BezierMultiPoint({points: [{"x":0,"y":0,"cp":[{"x":0.387,"y":0.007}]},{" diff --git a/demo/examples.html b/demo/examples.html index 9852583..ccbf20f 100644 --- a/demo/examples.html +++ b/demo/examples.html @@ -501,7 +501,7 @@ var myMultiTween2 = KUTE.allFromTo( diff --git a/demo/extend.html b/demo/extend.html index 3670136..c93136a 100644 --- a/demo/extend.html +++ b/demo/extend.html @@ -344,7 +344,7 @@ var myBSTween3 = KUTE.fromTo('selector', {boxShadow: [5, 5, 0, '#069', 'inset']} diff --git a/demo/features.html b/demo/features.html index 0ec9611..f23e845 100644 --- a/demo/features.html +++ b/demo/features.html @@ -189,7 +189,7 @@ diff --git a/demo/index.html b/demo/index.html index 96164b4..841c5c4 100644 --- a/demo/index.html +++ b/demo/index.html @@ -147,7 +147,7 @@

Packed With Tools

KUTE.js comes with a CSS Plugin, a SVG Plugin, - an ATTR Plugin, a Text Plugin and a jQuery plugin, + an ATTR Plugin, a Text Plugin, easing functions, color convertors, utility functions, and you can even extend it yourself.

@@ -203,7 +203,7 @@ diff --git a/demo/options.html b/demo/options.html index d49785a..8a2a9aa 100644 --- a/demo/options.html +++ b/demo/options.html @@ -196,7 +196,7 @@ KUTE.defaultOptions.duration = 1000; diff --git a/demo/properties.html b/demo/properties.html index 70552f4..25ab65b 100644 --- a/demo/properties.html +++ b/demo/properties.html @@ -273,7 +273,7 @@ diff --git a/demo/src/kute-jquery.min.js b/demo/src/kute-jquery.min.js deleted file mode 100644 index 13eaaac..0000000 --- a/demo/src/kute-jquery.min.js +++ /dev/null @@ -1,2 +0,0 @@ -// KUTE.js v1.6.6 | © dnp_theme | jQuery Plugin | MIT-License -!function(e,t){if("function"==typeof define&&define.amd)define(["./kute.js","jquery"],function(e,r){return t(r,e),e});else if("object"==typeof module&&"function"==typeof require){var r=require("./kute.js"),n=require("jquery");module.exports=t(n,r)}else{if(void 0===e.KUTE||void 0===e.$&&void 0===e.jQuery)throw new Error("jQuery Plugin for KUTE.js depend on KUTE.js and jQuery");var n=e.jQuery||e.$,r=e.KUTE;t(n,r)}}(this,function(e,t){"use strict";return e.fn.fromTo=function(e,r,n){var i=this.length>1?this:this[0],o=this.length>1?"allFromTo":"fromTo";return t[o](i,e,r,n)},e.fn.to=function(e,r){var n=this.length>1?this:this[0],i=this.length>1?"allTo":"to";return t[i](n,e,r)},this}); \ No newline at end of file diff --git a/demo/start.html b/demo/start.html index 9db5945..dc1c282 100644 --- a/demo/start.html +++ b/demo/start.html @@ -161,7 +161,7 @@ define([ diff --git a/demo/svg.html b/demo/svg.html index fa43679..044a713 100644 --- a/demo/svg.html +++ b/demo/svg.html @@ -563,7 +563,7 @@ KUTE.fromTo(element, diff --git a/demo/text.html b/demo/text.html index 66f6f41..f43583f 100644 --- a/demo/text.html +++ b/demo/text.html @@ -164,7 +164,7 @@ var myTextTween = KUTE.to('selector', {text: 'A text string with other <span& diff --git a/dist/kute-jquery.min.js b/dist/kute-jquery.min.js deleted file mode 100644 index 13eaaac..0000000 --- a/dist/kute-jquery.min.js +++ /dev/null @@ -1,2 +0,0 @@ -// KUTE.js v1.6.6 | © dnp_theme | jQuery Plugin | MIT-License -!function(e,t){if("function"==typeof define&&define.amd)define(["./kute.js","jquery"],function(e,r){return t(r,e),e});else if("object"==typeof module&&"function"==typeof require){var r=require("./kute.js"),n=require("jquery");module.exports=t(n,r)}else{if(void 0===e.KUTE||void 0===e.$&&void 0===e.jQuery)throw new Error("jQuery Plugin for KUTE.js depend on KUTE.js and jQuery");var n=e.jQuery||e.$,r=e.KUTE;t(n,r)}}(this,function(e,t){"use strict";return e.fn.fromTo=function(e,r,n){var i=this.length>1?this:this[0],o=this.length>1?"allFromTo":"fromTo";return t[o](i,e,r,n)},e.fn.to=function(e,r){var n=this.length>1?this:this[0],i=this.length>1?"allTo":"to";return t[i](n,e,r)},this}); \ No newline at end of file diff --git a/kute-jquery.js b/kute-jquery.js deleted file mode 100644 index b9b3c00..0000000 --- a/kute-jquery.js +++ /dev/null @@ -1,42 +0,0 @@ -/* KUTE.js - The Light Tweening Engine - * package jQuery Plugin - * by dnp_theme - * Licensed under MIT-License - */ - -(function(root,factory){ - // We need to require the root KUTE and jQuery. - if (typeof define === 'function' && define.amd) { - define(["./kute.js", "jquery"], function(KUTE, $){ - factory($, KUTE); - return KUTE; - }); - } else if(typeof module == "object" && typeof require == "function") { - // We assume, that require() is sync. - var KUTE = require("./kute.js"); - var $ = require("jquery"); - - // Export the modified one. Not really required, but convenient. - module.exports = factory($, KUTE); - } else if (typeof root.KUTE !== "undefined" && (typeof root.$ !== 'undefined' || typeof root.jQuery !== 'undefined' ) ) { - // jQuery always has two ways of existing... Find one, and pass. - var $ = root.jQuery || root.$, KUTE = root.KUTE; - factory($, KUTE); - } else { - throw new Error("jQuery Plugin for KUTE.js depend on KUTE.js and jQuery"); - } - })(this, function($, KUTE) { - 'use strict'; - - $.fn.fromTo = function(from,to,ops) { - var el = this.length > 1 ? this : this[0], method = this.length > 1 ? 'allFromTo' : 'fromTo'; - return KUTE[method](el,from,to,ops); - }; - - $.fn.to = function(to,ops) { - var el = this.length > 1 ? this : this[0], method = this.length > 1 ? 'allTo' : 'to'; - return KUTE[method](el,to,ops); - }; - - return this; -}); \ No newline at end of file