From 3b55d06b89bf64873e685c3d78fce5affbba3d17 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Tue, 16 Apr 2019 11:20:38 +0900 Subject: Add warehouse server source code. [Patch Set 2] Add ReadMe.md Change-Id: I6ade52d2490f5ca4ba107c1a27ed6d5b39048725 Signed-off-by: zheng_wenlong --- .../jquery/easing/jquery.easing.compatibility.js | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 warehouse/src/main/webapp/js/jquery/easing/jquery.easing.compatibility.js (limited to 'warehouse/src/main/webapp/js/jquery/easing/jquery.easing.compatibility.js') diff --git a/warehouse/src/main/webapp/js/jquery/easing/jquery.easing.compatibility.js b/warehouse/src/main/webapp/js/jquery/easing/jquery.easing.compatibility.js new file mode 100644 index 0000000..ac58fa7 --- /dev/null +++ b/warehouse/src/main/webapp/js/jquery/easing/jquery.easing.compatibility.js @@ -0,0 +1,59 @@ +/* + * Easing Compatibility v1 - http://gsgd.co.uk/sandbox/jquery/easing + * + * Adds compatibility for applications that use the pre 1.2 easing names + * + * Copyright (c) 2007 George Smith + * Licensed under the MIT License: + * http://www.opensource.org/licenses/mit-license.php + */ + +(function($){ +$.extend( $.easing, +{ + easeIn: function (x, t, b, c, d) { + return $.easing.easeInQuad(x, t, b, c, d); + }, + easeOut: function (x, t, b, c, d) { + return $.easing.easeOutQuad(x, t, b, c, d); + }, + easeInOut: function (x, t, b, c, d) { + return $.easing.easeInOutQuad(x, t, b, c, d); + }, + expoin: function(x, t, b, c, d) { + return $.easing.easeInExpo(x, t, b, c, d); + }, + expoout: function(x, t, b, c, d) { + return $.easing.easeOutExpo(x, t, b, c, d); + }, + expoinout: function(x, t, b, c, d) { + return $.easing.easeInOutExpo(x, t, b, c, d); + }, + bouncein: function(x, t, b, c, d) { + return $.easing.easeInBounce(x, t, b, c, d); + }, + bounceout: function(x, t, b, c, d) { + return $.easing.easeOutBounce(x, t, b, c, d); + }, + bounceinout: function(x, t, b, c, d) { + return $.easing.easeInOutBounce(x, t, b, c, d); + }, + elasin: function(x, t, b, c, d) { + return $.easing.easeInElastic(x, t, b, c, d); + }, + elasout: function(x, t, b, c, d) { + return $.easing.easeOutElastic(x, t, b, c, d); + }, + elasinout: function(x, t, b, c, d) { + return $.easing.easeInOutElastic(x, t, b, c, d); + }, + backin: function(x, t, b, c, d) { + return $.easing.easeInBack(x, t, b, c, d); + }, + backout: function(x, t, b, c, d) { + return $.easing.easeOutBack(x, t, b, c, d); + }, + backinout: function(x, t, b, c, d) { + return $.easing.easeInOutBack(x, t, b, c, d); + } +});})(jQuery); -- cgit 1.2.3-korg