1/* 2 * jQuery Easing Compatibility v1 - http://gsgd.co.uk/sandbox/jquery.easing.php 3 * 4 * Adds compatibility for applications that use the pre 1.2 easing names 5 * 6 * Copyright (c) 2007 George Smith 7 * Licensed under the MIT License: 8 * http://www.opensource.org/licenses/mit-license.php 9 */ 10 11jQuery.extend( jQuery.easing, 12{ 13 easeIn: function (x, t, b, c, d) { 14 return jQuery.easing.easeInQuad(x, t, b, c, d); 15 }, 16 easeOut: function (x, t, b, c, d) { 17 return jQuery.easing.easeOutQuad(x, t, b, c, d); 18 }, 19 easeInOut: function (x, t, b, c, d) { 20 return jQuery.easing.easeInOutQuad(x, t, b, c, d); 21 }, 22 expoin: function(x, t, b, c, d) { 23 return jQuery.easing.easeInExpo(x, t, b, c, d); 24 }, 25 expoout: function(x, t, b, c, d) { 26 return jQuery.easing.easeOutExpo(x, t, b, c, d); 27 }, 28 expoinout: function(x, t, b, c, d) { 29 return jQuery.easing.easeInOutExpo(x, t, b, c, d); 30 }, 31 bouncein: function(x, t, b, c, d) { 32 return jQuery.easing.easeInBounce(x, t, b, c, d); 33 }, 34 bounceout: function(x, t, b, c, d) { 35 return jQuery.easing.easeOutBounce(x, t, b, c, d); 36 }, 37 bounceinout: function(x, t, b, c, d) { 38 return jQuery.easing.easeInOutBounce(x, t, b, c, d); 39 }, 40 elasin: function(x, t, b, c, d) { 41 return jQuery.easing.easeInElastic(x, t, b, c, d); 42 }, 43 elasout: function(x, t, b, c, d) { 44 return jQuery.easing.easeOutElastic(x, t, b, c, d); 45 }, 46 elasinout: function(x, t, b, c, d) { 47 return jQuery.easing.easeInOutElastic(x, t, b, c, d); 48 }, 49 backin: function(x, t, b, c, d) { 50 return jQuery.easing.easeInBack(x, t, b, c, d); 51 }, 52 backout: function(x, t, b, c, d) { 53 return jQuery.easing.easeOutBack(x, t, b, c, d); 54 }, 55 backinout: function(x, t, b, c, d) { 56 return jQuery.easing.easeInOutBack(x, t, b, c, d); 57 } 58});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.