diff --git a/bower.json b/bower.json index 758a502..6f713e2 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "Morphist", - "version": "2.1.1", + "version": "2.1.2", "description": "A simple, high-performance and cross-browser jQuery slider / slideshow / carousel plugin for child objects powered by Animate.css.", "authors": [ "Ian Lai " @@ -27,7 +27,7 @@ "tests" ], "dependencies": { - "animate.css": "~3.2.0", + "animate.css": "~3.2.5", "jquery": "~2.1.1" } } diff --git a/dist/morphist.min.js b/dist/morphist.min.js index 60075d0..b135ccf 100644 --- a/dist/morphist.min.js +++ b/dist/morphist.min.js @@ -1 +1 @@ -/*! Morphist - v2.1.1 - 2015-04-14 */!function(a){"use strict";function b(b,c){this.element=a(b),this.settings=a.extend({},d,c),this._defaults=d,this._init()}var c="Morphist",d={animateIn:"bounceIn",animateOut:"rollOut",speed:2e3,complete:a.noop};b.prototype={_init:function(){this.children=this.element.children(),this.element.addClass("morphist"),this.index=0,this.timeout=null,this.loop()},loop:function(){var b=this;this._animateIn(),this.timeout=setTimeout(function(){var a=b._animateOut();b._attachOutListener(a)},this.settings.speed),a.isFunction(this.settings.complete)&&this.settings.complete.call(this)},_attachOutListener:function(a){var b=this;a.one("webkitAnimationEnd mozAnimationEnd MSAnimationEndoanimationend animationend",function(){a.hasClass("mis-out")&&(a.removeClass(),b.index=++b.index%b.children.length,b.loop())})},stop:function(){clearTimeout(this.timeout)},_animateIn:function(){return this.children.eq(this.index).addClass("animated mis-in "+this.settings.animateIn)},_animateOut:function(){var a=this.children.eq(this.index);return a.removeClass(),this.settings.animateIn===this.settings.animateOut&&a[0].offsetWidth,a.addClass("animated mis-out "+this.settings.animateOut)}},a.fn[c]=function(d){return this.each(function(){a.data(this,"plugin_"+c)||a.data(this,"plugin_"+c,new b(this,d))})}}(jQuery); \ No newline at end of file +/*! Morphist - v2.1.1 - 2015-04-14 */!function(a){"use strict";function b(b,c){this.element=a(b),this.settings=a.extend({},d,c),this._defaults=d,this._init()}var c="Morphist",d={animateIn:"bounceIn",animateOut:"rollOut",speed:2e3,complete:a.noop};b.prototype={_init:function(){this.children=this.element.children(),this.element.addClass("morphist"),this.index=0,this.loop()},loop:function(){var b=this;this._animateIn(),this.timeout=setTimeout(function(){var a=b._animateOut();b._attachOutListener(a)},this.settings.speed),a.isFunction(this.settings.complete)&&this.settings.complete.call(this)},_attachOutListener:function(a){var b=this;a.one("webkitAnimationEnd mozAnimationEnd MSAnimationEndoanimationend animationend",function(){a.hasClass("mis-out")&&(a.removeClass(),b.index=++b.index%b.children.length,b.loop())})},stop:function(){clearTimeout(this.timeout)},_animateIn:function(){return this.children.eq(this.index).addClass("animated mis-in "+this.settings.animateIn)},_animateOut:function(){var a=this.children.eq(this.index);return a.removeClass(),this.settings.animateIn===this.settings.animateOut&&a[0].offsetWidth,a.addClass("animated mis-out "+this.settings.animateOut)}},a.fn[c]=function(d){return this.each(function(){a.data(this,"plugin_"+c)||a.data(this,"plugin_"+c,new b(this,d))})}}(jQuery); \ No newline at end of file diff --git a/package.json b/package.json index ff3bf20..07ac961 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Morphist", - "version": "2.1.1", + "version": "2.1.2", "description": "A simple, high-performance and cross-browser jQuery slider / slideshow / carousel plugin for child objects powered by Animate.css.", "main": "Gruntfile.coffee", "private": true, @@ -24,7 +24,7 @@ "homepage": "https://github.com/MrSaints/Morphist", "devDependencies": { "grunt": "^0.4.5", - "grunt-contrib-uglify": "^0.7.0", - "grunt-eslint": "^5.1.0" + "grunt-contrib-uglify": "^0.9.1", + "grunt-eslint": "^11.0.0" } }