diff --git a/argontheme.js b/argontheme.js index 66251b2..727d4ec 100644 --- a/argontheme.js +++ b/argontheme.js @@ -3888,4 +3888,22 @@ void 0; else { init(); } if (document.readyState !== 'complete') { initLoadingBar(); } })(); -/* ========== End of Modern UI Enhancements ========== */ \ No newline at end of file +/* ========== End of Modern UI Enhancements ========== */ + + +// ========== jQuery Easing 备用(确保在所有脚本加载后仍可用)========== +(function() { + if (typeof jQuery === 'undefined') return; + var $ = jQuery; + if (!$.easing) $.easing = {}; + if (!$.easing.easeOutCirc) { + $.easing.easeOutCirc = function(x) { + return Math.sqrt(1 - Math.pow(x - 1, 2)); + }; + } + if (!$.easing.easeOutExpo) { + $.easing.easeOutExpo = function(x) { + return x === 1 ? 1 : 1 - Math.pow(2, -10 * x); + }; + } +})();