anim8js-jquery
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,2 +0,2 @@ | ||
/* anim8js-jquery 1.0.1 - anim8 your HTML elements with jQuery by Philip Diffenderfer */ | ||
/* anim8js-jquery 1.0.3 - anim8 your HTML elements with jQuery by Philip Diffenderfer */ | ||
// UMD (Universal Module Definition) | ||
@@ -8,3 +8,3 @@ (function (root, factory) | ||
// AMD. Register as an anonymous module. | ||
define(['anim8', 'jquery'], function(anim8, jQuery) { // jshint ignore:line | ||
define(['anim8js', 'jquery'], function(anim8, jQuery) { // jshint ignore:line | ||
return factory(anim8, jQuery, root); | ||
@@ -18,3 +18,3 @@ }); | ||
// like Node. | ||
module.exports = factory(require('anim8'), require('jquery'), global); // jshint ignore:line | ||
module.exports = factory(require('anim8js'), require('jquery'), global); // jshint ignore:line | ||
} | ||
@@ -21,0 +21,0 @@ else |
@@ -1,3 +0,3 @@ | ||
/* anim8js-jquery 1.0.1 - anim8 your HTML elements with jQuery by Philip Diffenderfer */ | ||
!function(t,n){"function"==typeof define&&define.amd?define(["anim8","jquery"],function(r,e){return n(r,e,t)}):"object"==typeof module&&module.exports?module.exports=n(require("anim8"),require("jquery"),global):n(t.anim8,t.jQuery,t)}(this,function(t,n,r){function e(){this.priority=10}var i=t.anim8s,a=t.Factory,o=t.Class,u=t.Factories,f=t.animation;o.extend(e,a,{is:function(t){return"undefined"!=typeof n&&t instanceof n},animatorFor:function(t){return u.dom.animatorFor(t[0])},destroy:function(t){return u.dom.destroy(t)},animatorsFor:function(t,n){t.each(function(){var t=u.dom.animatorFor(this);t&&n.push(t)})},attribute:function(t){return u.dom.attribute(t)}}),n.fn.m8=n.fn.anim8=n.fn.animator=function(){return t(this[0])},n.fn.m8s=n.fn.anim8s=n.fn.animators=function(){return i(this.get())};var s=n.fn.clone;return n.fn.clone=function(){var t=s.apply(this,arguments);return t.removeAttr(u.dom.elementAttribute),t},n.fn.dataPlay=function(r,e,i){var a={};return this.filter(function(){var o=n(this).data(r);if(o){var u=f(o,a,i);if(u!==!1)return t(this).play(u,a,e),!0}return!1})},n.fn.dataQueue=function(r,e){var i={};return this.filter(function(){var a=n(this).data(r);if(a){var o=f(a,i,e);if(o!==!1)return t(this).queue(o),!0}return!1})},n.fn.dataTransition=function(r,e,i,a){var o={};return this.filter(function(){var u=n(this).data(r);if(u){var s=f(u,o,a);if(s!==!1)return t(this).transition(e,s,o,i),!0}return!1})},n.fn.sequence=function(){return this.each(function(){n(this).html(n(this).wrapCharacters("div",'class="sequenced"'))}),this.find(".sequenced")},n.fn.wrapCharacters=function(t,r){var e="<"+t+("string"==typeof r?" "+r:"")+">",i="</"+t+">",a="";return n(this).contents().each(function(){if(3===this.nodeType){var r=this.data;if(r.length>1)for(var o=!1,u=0;u<r.length;u++){var f=r[u]<=" ";f&&o||(a+=e+r[u]+i),o=f}else a+=r}else{var s=this.outerHTML;if(this.firstChild){for(var c=0,h=!1;c<s.length;){var d=s[c++];if('"'===d||"'"===d)h=!h;else if("\\"===d)c++;else if(">"===d&&!h)break}a+=s.substring(0,c)+n(this).wrapCharacters(t)+"</"+this.tagName.toLowerCase()+">"}else a+=s}}),a},t.Factories.jquery=new e,t.FactoryJQuery=e,t}); | ||
/* anim8js-jquery 1.0.3 - anim8 your HTML elements with jQuery by Philip Diffenderfer */ | ||
!function(t,n){"function"==typeof define&&define.amd?define(["anim8js","jquery"],function(r,e){return n(r,e,t)}):"object"==typeof module&&module.exports?module.exports=n(require("anim8js"),require("jquery"),global):n(t.anim8,t.jQuery,t)}(this,function(t,n,r){function e(){this.priority=10}var i=t.anim8s,a=t.Factory,o=t.Class,u=t.Factories,f=t.animation;o.extend(e,a,{is:function(t){return"undefined"!=typeof n&&t instanceof n},animatorFor:function(t){return u.dom.animatorFor(t[0])},destroy:function(t){return u.dom.destroy(t)},animatorsFor:function(t,n){t.each(function(){var t=u.dom.animatorFor(this);t&&n.push(t)})},attribute:function(t){return u.dom.attribute(t)}}),n.fn.m8=n.fn.anim8=n.fn.animator=function(){return t(this[0])},n.fn.m8s=n.fn.anim8s=n.fn.animators=function(){return i(this.get())};var s=n.fn.clone;return n.fn.clone=function(){var t=s.apply(this,arguments);return t.removeAttr(u.dom.elementAttribute),t},n.fn.dataPlay=function(r,e,i){var a={};return this.filter(function(){var o=n(this).data(r);if(o){var u=f(o,a,i);if(u!==!1)return t(this).play(u,a,e),!0}return!1})},n.fn.dataQueue=function(r,e){var i={};return this.filter(function(){var a=n(this).data(r);if(a){var o=f(a,i,e);if(o!==!1)return t(this).queue(o),!0}return!1})},n.fn.dataTransition=function(r,e,i,a){var o={};return this.filter(function(){var u=n(this).data(r);if(u){var s=f(u,o,a);if(s!==!1)return t(this).transition(e,s,o,i),!0}return!1})},n.fn.sequence=function(){return this.each(function(){n(this).html(n(this).wrapCharacters("div",'class="sequenced"'))}),this.find(".sequenced")},n.fn.wrapCharacters=function(t,r){var e="<"+t+("string"==typeof r?" "+r:"")+">",i="</"+t+">",a="";return n(this).contents().each(function(){if(3===this.nodeType){var r=this.data;if(r.length>1)for(var o=!1,u=0;u<r.length;u++){var f=r[u]<=" ";f&&o||(a+=e+r[u]+i),o=f}else a+=r}else{var s=this.outerHTML;if(this.firstChild){for(var c=0,h=!1;c<s.length;){var d=s[c++];if('"'===d||"'"===d)h=!h;else if("\\"===d)c++;else if(">"===d&&!h)break}a+=s.substring(0,c)+n(this).wrapCharacters(t)+"</"+this.tagName.toLowerCase()+">"}else a+=s}}),a},t.Factories.jquery=new e,t.FactoryJQuery=e,t}); | ||
//# sourceMappingURL=anim8js-jquery.min.js.map |
{ | ||
"name": "anim8js-jquery", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "anim8 your HTML elements with jQuery", | ||
@@ -5,0 +5,0 @@ "main": "build/anim8js-jquery.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2380354