[ Avaa Bypassed ]




Upload:

Command:

www-data@18.191.254.28: ~ $
/**
 * Resize function without multiple trigger
 * 
 * Usage:
 * $(window).smartresize(function(){  
 *     // code here
 * });
 */
(function($,sr){
    // debouncing function from John Hann
    // http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
    var debounce = function (func, threshold, execAsap) {
      var timeout;

        return function debounced () {
            var obj = this, args = arguments;
            function delayed () {
                if (!execAsap)
                    func.apply(obj, args); 
                timeout = null; 
            }

            if (timeout)
                clearTimeout(timeout);
            else if (execAsap)
                func.apply(obj, args);

            timeout = setTimeout(delayed, threshold || 100); 
        };
    };

    // smartresize 
    jQuery.fn[sr] = function(fn){  return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); };

})(jQuery,'smartresize');

Filemanager

Name Type Size Permission Actions
front Folder 0777
custom-rtl.js File 6.72 KB 0777
custom.js File 161.34 KB 0777
custom.min.js File 70.75 KB 0777
index.html File 131 B 0777
jQuery.print.js File 11 KB 0777
jquery-1.11.2.min.js File 93.69 KB 0777
jquery.validate.js File 47.54 KB 0777
smartresize.js File 960 B 0777