403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.24
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/phpmyadmin/js/vendor/jquery/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/phpmyadmin/js/vendor/jquery/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);

Youez - 2016 - github.com/yon3zu
LinuXploit