diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-03 20:41:44 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-03 20:41:44 +0100 |
commit | a29bc8846fac5d7bcbe37ed306eb612bfc74acee (patch) | |
tree | 20e0b5e7531797d891a912749d068b34903cd7d7 /js/yui3/gallery-math | |
parent | f3975a11266aad202f31ce6fe8e86f321c68cd3e (diff) | |
download | bugzilla-a29bc8846fac5d7bcbe37ed306eb612bfc74acee.tar.gz bugzilla-a29bc8846fac5d7bcbe37ed306eb612bfc74acee.tar.xz |
More MyDashboard work
Diffstat (limited to 'js/yui3/gallery-math')
-rw-r--r-- | js/yui3/gallery-math/gallery-math-min.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/yui3/gallery-math/gallery-math-min.js b/js/yui3/gallery-math/gallery-math-min.js new file mode 100644 index 000000000..1d9348e48 --- /dev/null +++ b/js/yui3/gallery-math/gallery-math-min.js @@ -0,0 +1 @@ +YUI.add("gallery-math",function(e,t){"use strict";e.mix(Math,{sign:function(e){return e<0?-1:e>0?1:0},add:function(){return e.Array.reduce(e.Array(arguments),0,function(t,n){return e.Lang.isArray(n)&&(n=Math.add.apply(this,n)),t+n})},addReciprocals:function(){return e.Array.reduce(e.Array(arguments),0,function(t,n){return e.Lang.isArray(n)?t+Math.addReciprocals.apply(this,n):t+1/n})},parallel:function(){return 1/Math.addReciprocals.apply(this,arguments)},multiply:function(){return e.Array.reduce(e.Array(arguments),1,function(t,n){return e.Lang.isArray(n)&&(n=Math.multiply.apply(this,n)),t*n})},degreesToRadians:function(e){return e*Math.PI/180},radiansToDegrees:function(e){return e*180/Math.PI},acosh:function(e){return Math.log(e+Math.sqrt(e*e-1))},asinh:function(e){return Math.log(e+Math.sqrt(e*e+1))},atanh:function(e){return Math.log((1+e)/(1-e))/2},cosh:function(e){var t=Math.exp(e);return(t+1/t)/2},sinh:function(e){var t=Math.exp(e);return(t-1/t)/2},tanh:function(e){var t=Math.exp(2*e);return(t-1)/(t+1)}})},"@VERSION@",{requires:["array-extras"]}); |