Mercurial > public > madeira
annotate static/js/fancybox/jquery.easing-1.3.pack.js @ 67:0236de10077f
For Django 1.4, enable clickjacking protection middleware.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 14 Apr 2012 14:21:57 -0500 |
parents | efb2da0b5d10 |
children |
rev | line source |
---|---|
bgneal@26 | 1 /* |
bgneal@26 | 2 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ |
bgneal@26 | 3 * |
bgneal@26 | 4 * Uses the built in easing capabilities added In jQuery 1.1 |
bgneal@26 | 5 * to offer multiple easing options |
bgneal@26 | 6 * |
bgneal@26 | 7 * TERMS OF USE - jQuery Easing |
bgneal@26 | 8 * |
bgneal@26 | 9 * Open source under the BSD License. |
bgneal@26 | 10 * |
bgneal@26 | 11 * Copyright © 2008 George McGinley Smith |
bgneal@26 | 12 * All rights reserved. |
bgneal@26 | 13 * |
bgneal@26 | 14 * Redistribution and use in source and binary forms, with or without modification, |
bgneal@26 | 15 * are permitted provided that the following conditions are met: |
bgneal@26 | 16 * |
bgneal@26 | 17 * Redistributions of source code must retain the above copyright notice, this list of |
bgneal@26 | 18 * conditions and the following disclaimer. |
bgneal@26 | 19 * Redistributions in binary form must reproduce the above copyright notice, this list |
bgneal@26 | 20 * of conditions and the following disclaimer in the documentation and/or other materials |
bgneal@26 | 21 * provided with the distribution. |
bgneal@26 | 22 * |
bgneal@26 | 23 * Neither the name of the author nor the names of contributors may be used to endorse |
bgneal@26 | 24 * or promote products derived from this software without specific prior written permission. |
bgneal@26 | 25 * |
bgneal@26 | 26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
bgneal@26 | 27 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
bgneal@26 | 28 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
bgneal@26 | 29 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
bgneal@26 | 30 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
bgneal@26 | 31 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
bgneal@26 | 32 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
bgneal@26 | 33 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
bgneal@26 | 34 * OF THE POSSIBILITY OF SUCH DAMAGE. |
bgneal@26 | 35 * |
bgneal@26 | 36 */ |
bgneal@26 | 37 |
bgneal@26 | 38 // t: current time, b: begInnIng value, c: change In value, d: duration |
bgneal@26 | 39 eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('h.i[\'1a\']=h.i[\'z\'];h.O(h.i,{y:\'D\',z:9(x,t,b,c,d){6 h.i[h.i.y](x,t,b,c,d)},17:9(x,t,b,c,d){6 c*(t/=d)*t+b},D:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},X:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},U:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},R:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+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j(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},T:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.j(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},F:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},E:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},16:9(x,t,b,c,d,s){e(s==u)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.B))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.B))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.i.v(x,d-t,0,c,d)+b},v:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.14/2.k))*t+.11)+b}m{6 c*(7.q*(t-=(2.18/2.k))*t+.19)+b}},1b:9(x,t,b,c,d){e(t<d/2)6 h.i.A(x,t*2,0,c,d)*.5+b;6 h.i.v(x,t*2-d,0,c,d)*.5+c*.5+b}});',62,74,'||||||return||Math|function|||||if|var|PI|jQuery|easing|pow|75|70158|else|sin|sqrt||5625|asin|||undefined|easeOutBounce|abs||def|swing|easeInBounce|525|cos|easeOutQuad|easeOutBack|easeInBack|easeInSine|easeOutElastic|easeInOutQuint|easeOutQuint|easeInQuint|easeInOutQuart|easeOutQuart|easeInQuart|extend|easeInElastic|easeInOutCirc|easeInOutCubic|easeOutCirc|easeInOutElastic|easeOutCubic|easeInCirc|easeInOutExpo|easeInCubic|easeOutExpo|easeInExpo||9375|easeInOutSine|easeInOutQuad|25|easeOutSine|easeInOutBack|easeInQuad|625|984375|jswing|easeInOutBounce'.split('|'),0,{})) |
bgneal@26 | 40 |
bgneal@26 | 41 /* |
bgneal@26 | 42 * |
bgneal@26 | 43 * TERMS OF USE - EASING EQUATIONS |
bgneal@26 | 44 * |
bgneal@26 | 45 * Open source under the BSD License. |
bgneal@26 | 46 * |
bgneal@26 | 47 * Copyright © 2001 Robert Penner |
bgneal@26 | 48 * All rights reserved. |
bgneal@26 | 49 * |
bgneal@26 | 50 * Redistribution and use in source and binary forms, with or without modification, |
bgneal@26 | 51 * are permitted provided that the following conditions are met: |
bgneal@26 | 52 * |
bgneal@26 | 53 * Redistributions of source code must retain the above copyright notice, this list of |
bgneal@26 | 54 * conditions and the following disclaimer. |
bgneal@26 | 55 * Redistributions in binary form must reproduce the above copyright notice, this list |
bgneal@26 | 56 * of conditions and the following disclaimer in the documentation and/or other materials |
bgneal@26 | 57 * provided with the distribution. |
bgneal@26 | 58 * |
bgneal@26 | 59 * Neither the name of the author nor the names of contributors may be used to endorse |
bgneal@26 | 60 * or promote products derived from this software without specific prior written permission. |
bgneal@26 | 61 * |
bgneal@26 | 62 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY |
bgneal@26 | 63 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
bgneal@26 | 64 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
bgneal@26 | 65 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
bgneal@26 | 66 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
bgneal@26 | 67 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
bgneal@26 | 68 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
bgneal@26 | 69 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
bgneal@26 | 70 * OF THE POSSIBILITY OF SUCH DAMAGE. |
bgneal@26 | 71 * |
bgneal@26 | 72 */ |