anim8js-jquery
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,2 +0,2 @@ | ||
/* anim8js-jquery 1.0.3 - anim8 your HTML elements with jQuery by Philip Diffenderfer */ | ||
/* anim8js-jquery 1.0.4 - anim8 your HTML elements with jQuery by Philip Diffenderfer */ | ||
// UMD (Universal Module Definition) | ||
@@ -3,0 +3,0 @@ (function (root, factory) |
@@ -1,3 +0,3 @@ | ||
/* anim8js-jquery 1.0.3 - anim8 your HTML elements with jQuery by Philip Diffenderfer */ | ||
/* anim8js-jquery 1.0.4 - 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.3", | ||
"version": "1.0.4", | ||
"description": "anim8 your HTML elements with jQuery", | ||
"main": "build/anim8js-jquery.js", | ||
"types": "index.d.ts", | ||
"author": "Philip Diffenderfer", | ||
@@ -16,2 +17,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@types/jquery": "^3.3.29", | ||
"gulp": "^3.8.10", | ||
@@ -18,0 +20,0 @@ "gulp-check-filesize": "^2.0.1", |
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
2382357
149
40350
18