Comparing version 3.0.0-15-y to 3.0.0-16-y
/* | ||
--- | ||
provides: moofx | ||
description: a css3-enabled javascript animation library on caffeine | ||
author: Valerio Proietti (@kamicane) http://mad4milk.net http://mootools.net | ||
version: 3.0.0-16-y | ||
description: A CSS3-enabled javascript animation library on caffeine | ||
website: http://moofx.it | ||
license: MIT | ||
author: Valerio Proietti <@kamicane> (http://mad4milk.net) | ||
license: MIT (http://mootools.net/license.txt) | ||
... | ||
*/ | ||
!function(){var p,ia,i,w,X,I,E,R,F,Y,J,S,x,Z,ja,ka,T,la,ma,K,v,na,$,aa,A,L,ba,y,oa,pa,M,r,qa,N,z,s,G,ca,ra,U,da,k,q,o,h,ea,sa,O,V,W,H,C,D,P,n,m,fa,l,u,Q,ta,ga,ua=Object.prototype.hasOwnProperty,t=function(a,b){function c(){this.constructor=a}for(var d in b)ua.call(b,d)&&(a[d]=b[d]);c.prototype=b.prototype;a.prototype=new c;a.__super__=b.prototype;return a};fa=function(a){this.valueOf=function(){return a};return this};k=function(a){return a?new fa(null!=a.length?a:1===a.nodeType?[a]:[]):null};k.prototype= | ||
fa.prototype;"undefined"!==typeof module?module.exports=k:this.moofx=k;A=[];V=!1;ra=function(a){var b;null==a&&(a=+new Date);V=!1;for(b=A.length;b;)A.splice(--b,1)[0](a);return null};sa=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return setTimeout(a,1E3/60)};k.requestFrame=function(a){A.push(a);V||(V=!0,sa(ra));return this};k.cancelFrame=function(a){var b,c,d;for(c=0,d= | ||
A.length;c<d;c++)b=A[c],b===a&&A.splice(c,1);return this};pa={maroon:"#800000",red:"#ff0000",orange:"#ffA500",yellow:"#ffff00",olive:"#808000",purple:"#800080",fuchsia:"#ff00ff",white:"#ffffff",lime:"#00ff00",green:"#008000",navy:"#000080",blue:"#0000ff",aqua:"#00ffff",teal:"#008080",black:"#000000",silver:"#c0c0c0",gray:"#808080"};ma=function(a,b,c,d){null==d&&(d=1);a=parseInt(a,10);b=parseInt(b,10);c=parseInt(c,10);d=parseFloat(d);return!(255>=a&&0<=a)||!(255>=b&&0<=b)||!(255>=c&&0<=c)||!(1>=d&& | ||
0<=d)?null:[Math.round(a),Math.round(b),Math.round(c),d]};ja=function(a){var b,c,d;3===a.length&&(a+="f");4===a.length&&(b=a.charAt(0),c=a.charAt(1),d=a.charAt(2),a=a.charAt(3),a=b+b+c+c+d+d+a+a);6===a.length&&(a+="ff");d=[];for(b=0,c=a.length;b<=c;b+=2)d.push(parseInt(a.substr(b,2),16)/(6===b?255:1));return d};T=function(a,b,c){0>c&&(c+=1);1<c&&(c-=1);return c<1/6?a+6*(b-a)*c:0.5>c?b:c<2/3?a+6*(b-a)*(2/3-c):a};ka=function(a,b,c,d){var e,f;null==d&&(d=1);a/=360;b/=100;c/=100;d/=1;if(1<a||0>a||1<b|| | ||
0>b||1<c||0>c||1<d||0>d)return null;0===b?f=a=c:(b=0.5>c?c*(1+b):c+b-c*b,e=2*c-b,f=T(e,b,a+1/3),c=T(e,b,a),a=T(e,b,a-1/3));return[255*f,255*c,255*a,d]};k.color=function(a,b){var c;if("string"!==typeof a)return null;a=pa[a=a.replace(/\s+/g,"")]||a;if(a.match(/^#[a-f0-9]{3,8}/))a=ja(a.replace("#",""));else if(c=a.match(/([\d.])+/g))if(a.match(/^rgb/))a=c;else if(a.match(/^hsl/))a=ka.apply(null,c);else return null;else return null;if(!a||!(a=ma.apply(null,a)))return null;if(b)return a;1===a[3]&&a.splice(3, | ||
1);return"rgb"+(3<a.length?"a":"")+"("+a+")"};ba=k.cancelFrame;O=k.requestFrame;oa=k.color;C=String;o=parseFloat;L=function(a){return a.replace(/-\D/g,function(a){return a.charAt(1).toUpperCase()})};ca=function(a){return a.replace(/[A-Z]/g,function(a){return"-"+a.charAt(0).toLowerCase()})};y=function(a){return C(a).replace(/\s+/g," ").replace(/^\s+|\s+$/g,"")};M="undefined"!==typeof getComputedStyle?function(a){var b;b=getComputedStyle(a);return function(c){return b?b.getPropertyValue(ca(c)):""}}: | ||
function(a){var b;b=a.currentStyle;return function(c){return b?b[L(c)]:""}};h={};s={};H={};G=document.documentElement;aa={};z=function(a){return s[a]||(s[a]=function(){var b;b=h[a]||Y;return function(){return(new b(M(this)(a))).toString(!0,this)}}())};W=function(a){return H[a]||(H[a]=function(){var b;b=h[a]||Y;return function(c){return this.style[a]=(new b(c)).toString(!1,this)}}())};P=document.createElement("div");ea=function(a,b){var c,d;c=a.parentNode;d=1;c&&(P.style.cssText="border:none;margin:none;padding:none;visibility:hidden;position:absolute;height:0;"+ | ||
("width:100"+b+";"),c.appendChild(P),d=P.offsetWidth/100,c.removeChild(P));return d};p=function(){function a(){}a.prototype.extract=function(){return[this]};a.prototype.toString=function(){return C(this.value)};return a}();Y=function(a){function b(c){null==c&&(c="");this.value=C(c)}t(b,a);return b}(p);F=function(a){function b(c){var a;null==c&&(c="");this.value=isFinite(a=o(c))?a:c}t(b,a);return b}(p);i=function(){function a(){}a.prototype.extract=function(){return this.parsed};a.prototype.toString= | ||
function(a,c){var d,e=y,f,g,j,ha;j=this.parsed;ha=[];for(f=0,g=j.length;f<g;f++)d=j[f],ha.push(d.toString(a,c));return e(ha.join(" "))};return a}();E=function(a){function b(c){null==c&&(c="");"auto"===c?this.value="auto":(c=y(C(c)).match(/^([-\d.]+)(%|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vm)?$/))?(this.value=o(c[1]),this.unit=0===this.value||!c[2]?"px":c[2]):this.value=""}t(b,a);b.prototype.toString=function(c,a){return"auto"===this.value?this.value:c&&""===this.value?"0px":""===this.value?"":a&& | ||
"px"!==this.unit?""+ea(a,this.unit)*this.value+"px":this.value+this.unit};return b}(p);I=function(a){function b(c){"transparent"===c&&(c="#00000000");this.value=c?oa(c,!0):""}t(b,a);b.prototype.toString=function(c){return c&&!this.value?"rgba(0,0,0,1)":!this.value?"":!c&&("transparent"===this.value||0===this.value[3])?"transparent":c||1!==this.value[3]?"rgba("+this.value+")":"rgb("+this.value[0]+","+this.value[1]+","+this.value[2]+")"};return b}(p);da=function(a){var b;b=a.length;1===b?a.push(a[0], | ||
a[0],a[0]):2===b?a.push(a[0],a[1]):3===b&&a.push(a[1]);return a};R=function(a){function b(c){var a,b;null==c&&(c="");b=da(y(c).split(" "));var f,g;g=[];for(c=0,f=b.length;c<f;c++)a=b[c],g.push(new E(a));this.parsed=g}t(b,a);return b}(i);X=function(a){function b(c){null==c&&(c="");this.value=(c=y(c)).match(/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit/)?c:""}t(b,a);b.prototype.toString=function(c){return c&&!this.value?"none":this.value};return b}(p);w=function(a){function b(c){var a, | ||
(function(){var p,ia,i,w,X,I,E,R,F,Y,J,S,x,Z,ja,ka,T,la,ma,K,v,na,$,aa,A,L,ba,y,oa,pa,M,r,qa,N,z,s,G,ca,ra,U,da,k,q,o,h,ea,sa,O,V,W,H,C,D,P,n,m,fa,l,u,Q,ta,ga,ua=Object.prototype.hasOwnProperty,t=function(a,b){function c(){this.constructor=a}for(var d in b)ua.call(b,d)&&(a[d]=b[d]);c.prototype=b.prototype;a.prototype=new c;a.__super__=b.prototype;return a};fa=function(a){this.valueOf=function(){return a};return this};k=function(a){return a?new fa(null!=a.length?a:1===a.nodeType?[a]:[]):null};k.prototype= | ||
fa.prototype;pa={maroon:"#800000",red:"#ff0000",orange:"#ffA500",yellow:"#ffff00",olive:"#808000",purple:"#800080",fuchsia:"#ff00ff",white:"#ffffff",lime:"#00ff00",green:"#008000",navy:"#000080",blue:"#0000ff",aqua:"#00ffff",teal:"#008080",black:"#000000",silver:"#c0c0c0",gray:"#808080"};ma=function(a,b,c,d){null==d&&(d=1);a=parseInt(a,10);b=parseInt(b,10);c=parseInt(c,10);d=parseFloat(d);return!(255>=a&&0<=a)||!(255>=b&&0<=b)||!(255>=c&&0<=c)||!(1>=d&&0<=d)?null:[Math.round(a),Math.round(b),Math.round(c), | ||
d]};ja=function(a){var b,c,d;3===a.length&&(a+="f");4===a.length&&(b=a.charAt(0),c=a.charAt(1),d=a.charAt(2),a=a.charAt(3),a=b+b+c+c+d+d+a+a);6===a.length&&(a+="ff");d=[];for(b=0,c=a.length;b<=c;b+=2)d.push(parseInt(a.substr(b,2),16)/(6===b?255:1));return d};T=function(a,b,c){0>c&&(c+=1);1<c&&(c-=1);return c<1/6?a+6*(b-a)*c:0.5>c?b:c<2/3?a+6*(b-a)*(2/3-c):a};ka=function(a,b,c,d){var e,f;null==d&&(d=1);a/=360;b/=100;c/=100;d/=1;if(1<a||0>a||1<b||0>b||1<c||0>c||1<d||0>d)return null;0===b?f=a=c:(b=0.5> | ||
c?c*(1+b):c+b-c*b,e=2*c-b,f=T(e,b,a+1/3),c=T(e,b,a),a=T(e,b,a-1/3));return[255*f,255*c,255*a,d]};k.color=function(a,b){var c;if("string"!==typeof a)return null;a=pa[a=a.replace(/\s+/g,"")]||a;if(a.match(/^#[a-f0-9]{3,8}/))a=ja(a.replace("#",""));else if(c=a.match(/([\d.])+/g))if(a.match(/^rgb/))a=c;else if(a.match(/^hsl/))a=ka.apply(null,c);else return null;else return null;if(!a||!(a=ma.apply(null,a)))return null;if(b)return a;1===a[3]&&a.splice(3,1);return"rgb"+(3<a.length?"a":"")+"("+a+")"};A= | ||
[];V=!1;ra=function(a){var b;null==a&&(a=+new Date);V=!1;for(b=A.length;b;)A.splice(--b,1)[0](a);return null};sa=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return setTimeout(a,1E3/60)};k.requestFrame=function(a){A.push(a);V||(V=!0,sa(ra));return this};k.cancelFrame=function(a){var b,c,d;for(c=0,d=A.length;c<d;c++)b=A[c],b===a&&A.splice(c,1);return this};ba=k.cancelFrame; | ||
O=k.requestFrame;oa=k.color;C=String;o=parseFloat;L=function(a){return a.replace(/-\D/g,function(a){return a.charAt(1).toUpperCase()})};ca=function(a){return a.replace(/[A-Z]/g,function(a){return"-"+a.charAt(0).toLowerCase()})};y=function(a){return C(a).replace(/\s+/g," ").replace(/^\s+|\s+$/g,"")};M="undefined"!==typeof getComputedStyle?function(a){var b;b=getComputedStyle(a);return function(c){return b?b.getPropertyValue(ca(c)):""}}:function(a){var b;b=a.currentStyle;return function(c){return b? | ||
b[L(c)]:""}};h={};s={};H={};G=document.documentElement;aa={};z=function(a){return s[a]||(s[a]=function(){var b;b=h[a]||Y;return function(){return(new b(M(this)(a))).toString(!0,this)}}())};W=function(a){return H[a]||(H[a]=function(){var b;b=h[a]||Y;return function(c){return this.style[a]=(new b(c)).toString()}}())};P=document.createElement("div");ea=function(a,b){var c,d;c=a.parentNode;d=1;c&&(P.style.cssText="border:none;margin:none;padding:none;visibility:hidden;position:absolute;height:0;"+("width:100"+ | ||
b+";"),c.appendChild(P),d=P.offsetWidth/100,c.removeChild(P));return d};p=function(){function a(){}a.prototype.extract=function(){return[this]};a.prototype.toString=function(){return C(this.value)};return a}();Y=function(a){function b(c){null==c&&(c="");this.value=C(c)}t(b,a);return b}(p);F=function(a){function b(c){var a;null==c&&(c="");this.value=isFinite(a=o(c))?a:c}t(b,a);return b}(p);i=function(){function a(){}a.prototype.extract=function(){return this.parsed};a.prototype.toString=function(a, | ||
c){var d,e=y,f,g,j,ha;j=this.parsed;ha=[];for(f=0,g=j.length;f<g;f++)d=j[f],ha.push(d.toString(a,c));return e(ha.join(" "))};return a}();E=function(a){function b(c){null==c&&(c="");"auto"===c?this.value="auto":(c=y(C(c)).match(/^([-\d.]+)(%|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vm)?$/))?(this.value=o(c[1]),this.unit=0===this.value||!c[2]?"px":c[2]):this.value=""}t(b,a);b.prototype.toString=function(c,a){return"auto"===this.value?this.value:c&&""===this.value?"0px":""===this.value?"":a&&"px"!==this.unit? | ||
""+ea(a,this.unit)*this.value+"px":this.value+this.unit};return b}(p);I=function(a){function b(c){"transparent"===c&&(c="#00000000");this.value=c?oa(c,!0):""}t(b,a);b.prototype.toString=function(c){return c&&!this.value?"rgba(0,0,0,1)":!this.value?"":!c&&("transparent"===this.value||0===this.value[3])?"transparent":c||1!==this.value[3]?"rgba("+this.value+")":"rgb("+this.value[0]+","+this.value[1]+","+this.value[2]+")"};return b}(p);da=function(a){var b;b=a.length;1===b?a.push(a[0],a[0],a[0]):2=== | ||
b?a.push(a[0],a[1]):3===b&&a.push(a[1]);return a};R=function(a){function b(c){var a,b;null==c&&(c="");b=da(y(c).split(" "));var f,g;g=[];for(c=0,f=b.length;c<f;c++)a=b[c],g.push(new E(a));this.parsed=g}t(b,a);return b}(i);X=function(a){function b(c){null==c&&(c="");this.value=(c=y(c)).match(/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit/)?c:""}t(b,a);b.prototype.toString=function(c){return c&&!this.value?"none":this.value};return b}(p);w=function(a){function b(c){var a, | ||
b,f;null==c&&(c="");"none"===c&&(c="0 none #000");c=y(c).match(/((?:[\d.]+)(?:[\w%]+)?)\s(\w+)\s(rgb(?:a)?\([\d,\s]+\)|hsl(?:a)?\([\d,\s]+\)|#[a-f0-9]+|\w+)/)||[];this.parsed=[new E(null!=(a=c[1])?a:""),new X(null!=(b=c[2])?b:""),new I(null!=(f=c[3])?f:"")]}t(b,a);return b}(i);i=function(a){function b(c){var a;null==c&&(c="");var c=da(c.match(/rgb(a)?\([\d,\s]+\)|hsl(a)?\([\d,\s]+\)|#[a-f0-9]+|\w+/g)||[""]),b,f,g;g=[];for(b=0,f=c.length;b<f;b++)a=c[b],g.push(new I(a));this.parsed=g}t(b,a);return b}(i); | ||
@@ -41,2 +41,2 @@ m=["Top","Right","Bottom","Left"];n=["TopLeft","TopRight","BottomRight","BottomLeft"];h.color=h.backgroundColor=I;h.width=h.height=h.fontSize=h.backgroundSize=E;for(l=0,Q=m.length;l<Q;l++){r=m[l];v="border"+r;ga=["margin"+r,"padding"+r,v+"Width",r.toLowerCase()];for(u=0,ta=ga.length;u<ta;u++)q=ga[u],h[q]=E;h[v+"Color"]=I;h[v+"Style"]=X;h[v]=w;s[v]=function(){return[z(v+"Width").call(this),z(v+"Style").call(this),z(v+"Color").call(this)].join(" ")}}for(l=0,u=n.length;l<u;l++)r=n[l],h["border"+r+"Radius"]= | ||
p=p.toString(!0);g&&u.call(o,j);n.setOptions(d).start(j,p)}}return this};a.prototype.start=function(a,c,d,e){var f;f={};f[c]=d;return this.starts(a,f,e)};a.prototype.sets=function(a,c){var d,e,f,g,h,i,k,l;for(e in c){g=c[e];f=W(e=L(e));for(i=0,h=a.length;i<h;i++){d=a[i];if(null!=(k=this.animations[d.\u00b5id]))null!=(l=k[e])&&l.stop(!0);f.call(d,g)}}return this};a.prototype.set=function(a,c,d){var e;e={};e[c]=d;return this.sets(a,e)};return a}());k.prototype.animate=function(a,b,c){"string"!==typeof a? | ||
K.starts(this.valueOf(),a,b):K.start(this.valueOf(),a,b,c);return this};k.prototype.style=function(a,b){"string"!==typeof a?K.sets(this.valueOf(),a):K.set(this.valueOf(),a,b);return this};k.prototype.compute=function(a){return z(L(a)).call(this.valueOf()[0])}}(); | ||
K.starts(this.valueOf(),a,b):K.start(this.valueOf(),a,b,c);return this};k.prototype.style=function(a,b){"string"!==typeof a?K.sets(this.valueOf(),a):K.set(this.valueOf(),a,b);return this};k.prototype.compute=function(a){return z(L(a)).call(this.valueOf()[0])};"undefined"!==typeof module?module.exports=k:window.moofx=k})(); |
101
moofx.js
/* | ||
--- | ||
provides: moofx | ||
description: a css3-enabled javascript animation library on caffeine | ||
author: Valerio Proietti (@kamicane) http://mad4milk.net http://mootools.net | ||
version: 3.0.0-16-y | ||
description: A CSS3-enabled javascript animation library on caffeine | ||
website: http://moofx.it | ||
license: MIT | ||
author: Valerio Proietti <@kamicane> (http://mad4milk.net) | ||
license: MIT (http://mootools.net/license.txt) | ||
... | ||
*/ | ||
!(function(){ | ||
(function(){ | ||
var Animation, Animations, CSSAnimation, CSSBorderColorParsers, CSSBorderParsers, CSSBorderStyleParser, CSSColorParser, CSSLengthParser, CSSLengthParsers, CSSNumberParser, CSSParser, CSSParsers, CSSStringParser, CSSTransform, CSSTransformParser, CSSTransition, CSSTransitionEnd, CSSZindexParser, HEXtoRGB, HSLtoRGB, HUEtoRGB, JSAnimation, RGBtoRGB, animations, bColorReg, bStyleReg, bWidthReg, bd, bezier, beziers, browser, callbacks, camelize, cancelFrame, clean, color, colors, computedStyle, cssText, d, equations, filterName, getter, getters, html, hyphenate, item, iterator, matchOp, mirror4, moofx, name, number, parsers, pixelRatio, requestAnimationFrame, requestFrame, running, setter, setters, string, t, test, tlbl, trbl, µ, _fn, _fn2, _i, _j, _k, _l, _len, _len2, _len3, _len4, _len5, _len6, _len7, _m, _n, _o, _ref, _ref2, _ref3, _ref4, _ref5, | ||
var Animation, Animations, CSSAnimation, CSSBorderColorParsers, CSSBorderParsers, CSSBorderStyleParser, CSSColorParser, CSSLengthParser, CSSLengthParsers, CSSNumberParser, CSSParser, CSSParsers, CSSStringParser, CSSTransform, CSSTransformParser, CSSTransition, CSSTransitionEnd, CSSZindexParser, HEXtoRGB, HSLtoRGB, HUEtoRGB, JSAnimation, RGBtoRGB, animations, bd, bezier, beziers, browser, callbacks, camelize, cancelFrame, clean, color, colors, computedStyle, cssText, d, equations, filterName, getter, getters, html, hyphenate, item, iterator, matchOp, mirror4, moofx, name, number, parsers, pixelRatio, requestAnimationFrame, requestFrame, running, setter, setters, string, t, test, tlbl, trbl, µ, _fn, _fn2, _i, _j, _k, _l, _len, _len2, _len3, _len4, _len5, _len6, _len7, _m, _n, _o, _ref, _ref2, _ref3, _ref4, _ref5, | ||
__hasProp = Object.prototype.hasOwnProperty, | ||
@@ -34,45 +35,2 @@ __extends = function(child, parent){ for (var key in parent){ if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor(){ this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; }; | ||
if (typeof module !== 'undefined'){ | ||
module.exports = moofx; | ||
} else { | ||
this.moofx = moofx; | ||
} | ||
callbacks = []; | ||
running = false; | ||
iterator = function(time){ | ||
var i; | ||
if (time == null) time = +(new Date); | ||
running = false; | ||
i = callbacks.length; | ||
while (i){ | ||
callbacks.splice(--i, 1)[0](time); | ||
} | ||
return null; | ||
}; | ||
requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(callback){ | ||
return setTimeout(callback, 1000 / 60); | ||
}; | ||
moofx.requestFrame = function(callback){ | ||
callbacks.push(callback); | ||
if (!running){ | ||
running = true; | ||
requestAnimationFrame(iterator); | ||
} | ||
return this; | ||
}; | ||
moofx.cancelFrame = function(match){ | ||
var callback, i, _len; | ||
for (i = 0, _len = callbacks.length; i < _len; i++){ | ||
callback = callbacks[i]; | ||
if (callback === match) callbacks.splice(i, 1); | ||
} | ||
return this; | ||
}; | ||
colors = { | ||
@@ -182,2 +140,39 @@ maroon: '#800000', | ||
callbacks = []; | ||
running = false; | ||
iterator = function(time){ | ||
var i; | ||
if (time == null) time = +(new Date); | ||
running = false; | ||
i = callbacks.length; | ||
while (i){ | ||
callbacks.splice(--i, 1)[0](time); | ||
} | ||
return null; | ||
}; | ||
requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(callback){ | ||
return setTimeout(callback, 1000 / 60); | ||
}; | ||
moofx.requestFrame = function(callback){ | ||
callbacks.push(callback); | ||
if (!running){ | ||
running = true; | ||
requestAnimationFrame(iterator); | ||
} | ||
return this; | ||
}; | ||
moofx.cancelFrame = function(match){ | ||
var callback, i, _len; | ||
for (i = 0, _len = callbacks.length; i < _len; i++){ | ||
callback = callbacks[i]; | ||
if (callback === match) callbacks.splice(i, 1); | ||
} | ||
return this; | ||
}; | ||
cancelFrame = moofx.cancelFrame, requestFrame = moofx.requestFrame, color = moofx.color; | ||
@@ -252,3 +247,3 @@ | ||
return function(value){ | ||
return this.style[key] = new parser(value).toString(false, this); | ||
return this.style[key] = new parser(value).toString(); | ||
}; | ||
@@ -434,8 +429,2 @@ })()); | ||
bStyleReg = /none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit/g; | ||
bColorReg = /rgb(a)?\([\d,\s]+\)|hsl(a)?\([\d,\s]+\)|#[a-f0-9]+|\w+/g; | ||
bWidthReg = /([-\d.]+)(%|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vm)?/g; | ||
CSSBorderStyleParser = (function(_super){ | ||
@@ -1177,2 +1166,4 @@ | ||
typeof module !== 'undefined' ? module.exports = moofx: window.moofx = moofx; | ||
})(); |
{ | ||
"name": "moofx", | ||
"description": "A CSS3-enabled javascript animation library on caffeine", | ||
"version": "3.0.0-15-y", | ||
"version": "3.0.0-16-y", | ||
"license": "MIT (http://mootools.net/license.txt)", | ||
"main": "./moofx.js", | ||
"keywords": ["moofx", "fx", "animation", "transition", "effects", "ender"], | ||
@@ -13,5 +15,8 @@ "homepage": "http://moofx.it", | ||
}, | ||
"sources": ["./moofx.js"], | ||
"main": "./moofx.js", | ||
"devDependencies": { | ||
"coffee-script": ">=1.2.0" | ||
}, | ||
"sources": ["./moofx.js", "./adapters/mootools.js"], | ||
"coffeescripts": ["./src/moofx.coffee", "./src/color.coffee", "./src/frame.coffee", "./src/animation.coffee"], | ||
"ender": "./adapters/ender.js" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
171324
20
3813
0
1