Skip to content

Commit a9a3cc7

Browse files
committed
Merge pull request craigmdennis#16 from craigmdennis/v1.1
V1.1.5
2 parents 05a58b7 + beade02 commit a9a3cc7

File tree

11 files changed

+32
-41
lines changed

11 files changed

+32
-41
lines changed

.jshintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
"unused": true,
1818
"strict": true,
1919
"trailing": true,
20-
"smarttabs": true
20+
"smarttabs": true,
21+
"jquery": true
2122
}

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
<a name="1.1.4-0"></a>
1+
<a name="1.1.5"></a>
2+
### 1.1.5 (2014-05-27)
3+
4+
5+
<a name="1.1.4"></a>
26
### 1.1.4-0 (2014-05-27)
37

48

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module.exports = function (grunt) {
8080
},
8181
dist: {
8282
options: {
83-
jshintrc: 'src/.jshintrc'
83+
jshintrc: '.jshintrc'
8484
},
8585
src: ['.tmp/{,*/}*.js']
8686
}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ A jQuery plugin to dynamically apply [Dan Eden's animate.css][animate.css] anima
44

55
[animate.css]: http://daneden.github.io/animate.css/
66

7+
[![Code Climate](https://codeclimate.com/github/craigmdennis/animateCSS.png)](https://codeclimate.com/github/craigmdennis/animateCSS)
8+
79
## Getting Started
810

911
### Bower

animateCSS.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "animateCSS",
33
"title": "Animate CSS jQuery Plugin",
44
"description": "A jQuery plugin to dynamically apply animate.css animations with callbacks",
5-
"version": "1.1.4",
5+
"version": "1.1.5",
66
"homepage": "https://github.com/craigmdennis/animateCSS.git",
77
"author": {
88
"name": "Craig Dennis",

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "animateCSS",
33
"description": "A jQuery plugin to dynamically apply animate.css animations with callbacks",
44
"main": "dist/jquery.animatecss.js",
5-
"version": "1.1.4",
5+
"version": "1.1.5",
66
"dependencies": {
77
"animate.css": "~3.1.1"
88
},

dist/jquery.animatecss.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! animateCSS - v1.1.3-1 - 2014-05-27
1+
/*! animateCSS - v1.1.5 - 2014-05-27
22
* https://github.com/craigmdennis/animateCSS
33
* Copyright (c) 2014 Craig Dennis; Licensed MIT */
44

@@ -14,19 +14,19 @@
1414
settings = {
1515
effect: effect,
1616
delay: 0,
17-
animationClass: "animated",
17+
animationClass: 'animated',
1818
infinite: false,
1919
callback: options,
2020
debug: false
2121
};
22-
transitionEnd = "webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend";
22+
transitionEnd = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend';
2323
settings = $.extend(settings, options);
2424
init = function(element) {
2525
return animate(element);
2626
};
2727
animate = function(element) {
2828
if (settings.infinite === true) {
29-
settings.animationClass += " infinite";
29+
settings.animationClass += ' infinite';
3030
}
3131
return setTimeout(function() {
3232
unhide(element);
@@ -35,24 +35,24 @@
3535
}, settings.delay);
3636
};
3737
addClass = function(element) {
38-
return element.addClass(settings.effect + " " + settings.animationClass + " ");
38+
return element.addClass(settings.effect + ' ' + settings.animationClass + ' ');
3939
};
4040
unhide = function(element) {
41-
if (element.css("visibility") === "hidden") {
42-
element.css("visibility", "visible");
41+
if (element.css('visibility') === 'hidden') {
42+
element.css('visibility', 'visible');
4343
}
44-
if (element.is(":hidden")) {
44+
if (element.is(':hidden')) {
4545
return element.show();
4646
}
4747
};
4848
removeClass = function(element) {
49-
return element.removeClass(settings.effect + " " + settings.animationClass);
49+
return element.removeClass(settings.effect + ' ' + settings.animationClass);
5050
};
5151
callback = function(element) {
5252
if (settings.infinite === false) {
5353
removeClass(element);
5454
}
55-
if (typeof settings.callback === "function") {
55+
if (typeof settings.callback === 'function') {
5656
return settings.callback.call(element);
5757
}
5858
};

dist/jquery.animatecss.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "animateCSS",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"description": "Animate CSS jQuery Plugin",
55
"keywords": [
66
"jquery-plugin",

src/.jshintrc

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)