diff --git a/CHANGELOG.md b/CHANGELOG.md index 56772a2..8b8e250 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ + +### 1.1.4-0 (2014-05-27) + + ### 1.1.3-1 (2014-05-21) diff --git a/README.md b/README.md index 504c02c..4ef8a83 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,14 @@ A jQuery plugin to dynamically apply [Dan Eden's animate.css][animate.css] anima ## Getting Started +### Bower +Install with [Bower][bower] +`bower install animateCSS` + +[bower]: http://bower.io/ + +### Download + Download the [production version][min] or the [development version][max]. [min]: https://raw.github.com/craigmdennis/animateCSS/master/dist/jquery.animatecss.min.js @@ -28,7 +36,7 @@ $(document).ready( function(){ ```js { infinite: false, // True or False - animationClass: "animate", // Can be any class + animationClass: "animated", // Can be any class delay: 0 // Can be any value (in ms) callback: // Any function } @@ -93,7 +101,7 @@ If you want to hide an element when the page loads and then apply an effect, it ```js $(window).load( function(){ $('#your-id').animateCSS('fadeIn', function(){ - alert('Boom! Animation Complete'); + console.log('Boom! Animation Complete'); }); }); ``` diff --git a/animateCSS.jquery.json b/animateCSS.jquery.json index ebe05aa..957eb4c 100644 --- a/animateCSS.jquery.json +++ b/animateCSS.jquery.json @@ -2,7 +2,7 @@ "name": "animateCSS", "title": "Animate CSS jQuery Plugin", "description": "A jQuery plugin to dynamically apply animate.css animations with callbacks", - "version": "1.1.3-1", + "version": "1.1.4", "homepage": "https://github.com/craigmdennis/animateCSS.git", "author": { "name": "Craig Dennis", diff --git a/bower.json b/bower.json index 46ac10f..7d42eae 100644 --- a/bower.json +++ b/bower.json @@ -2,7 +2,7 @@ "name": "animateCSS", "description": "A jQuery plugin to dynamically apply animate.css animations with callbacks", "main": "dist/jquery.animatecss.js", - "version": "1.1.3-1", + "version": "1.1.4", "dependencies": { "animate.css": "~3.1.1" }, diff --git a/dist/jquery.animatecss.js b/dist/jquery.animatecss.js index 46d3116..b79ae5a 100644 --- a/dist/jquery.animatecss.js +++ b/dist/jquery.animatecss.js @@ -1,5 +1,5 @@ -/*! animateCSS - v1.1.0 - 2014-05-21 -* https://github.com/craigmdennis/animatecss +/*! animateCSS - v1.1.3-1 - 2014-05-27 +* https://github.com/craigmdennis/animateCSS * Copyright (c) 2014 Craig Dennis; Licensed MIT */ (function() { diff --git a/dist/jquery.animatecss.min.js b/dist/jquery.animatecss.min.js index 382859d..a595c02 100644 --- a/dist/jquery.animatecss.min.js +++ b/dist/jquery.animatecss.min.js @@ -1,5 +1,5 @@ -/*! animateCSS - v1.1.0 - 2014-05-21 -* https://github.com/craigmdennis/animatecss +/*! animateCSS - v1.1.3-1 - 2014-05-27 +* https://github.com/craigmdennis/animateCSS * Copyright (c) 2014 Craig Dennis; Licensed MIT */ (function(){"use strict";var a;a=jQuery,a.fn.extend({animateCSS:function(b,c){var d,e,f,g,h,i,j,k,l;return j={effect:b,delay:0,animationClass:"animated",infinite:!1,callback:c,debug:!1},k="webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",j=a.extend(j,c),h=function(a){return e(a)},e=function(a){return j.infinite===!0&&(j.animationClass+=" infinite"),setTimeout(function(){return l(a),d(a),g(a)},j.delay)},d=function(a){return a.addClass(j.effect+" "+j.animationClass+" ")},l=function(a){return"hidden"===a.css("visibility")&&a.css("visibility","visible"),a.is(":hidden")?a.show():void 0},i=function(a){return a.removeClass(j.effect+" "+j.animationClass)},f=function(a){return j.infinite===!1&&i(a),"function"==typeof j.callback?j.callback.call(a):void 0},g=function(a){return a.one(k,function(){return f(a)})},this.each(function(){return h(a(this))})}})}).call(this); \ No newline at end of file diff --git a/package.json b/package.json index 0308768..50edb35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "animateCSS", - "version": "1.1.3-1", + "version": "1.1.4", "description": "Animate CSS jQuery Plugin", "keywords": [ "jquery-plugin",