add anima v0.3.7

This commit is contained in:
Peter Dave Hello
2014-07-30 02:29:34 +08:00
parent 5b1d089d13
commit cc4ea14ceb
5 changed files with 1054 additions and 1 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+14
View File
@@ -0,0 +1,14 @@
(function ($, a) {
var world;
$.fn.anima = function () {
if (!world) {
world = a.world();
}
var index = world.items.indexOf(this[0]),
item = index !== -1 ? world.items[index] : world.add(this[0]);
return item;
};
}(jQuery, anima));
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "anima",
"filename": "anima.min.js",
"version": "0.3.6",
"version": "0.3.7",
"description": "CSS animations with a soul",
"repository": {
"type": "git",