Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/jquery
File: jquery.schedule.js
[0] Fix | Delete
(function($){$.scheduler=function(){this.bucket={};return;};$.scheduler.prototype={schedule:function(){var ctx={"id":null,"time":1000,"repeat":false,"protect":false,"obj":null,"func":function(){},"args":[]};function _isfn(fn){return(!!fn&&typeof fn!="string"&&typeof fn[0]=="undefined"&&RegExp("function","i").test(fn+""));};var i=0;var override=false;if(typeof arguments[i]=="object"&&arguments.length>1){override=true;i++;}
[1] Fix | Delete
if(typeof arguments[i]=="object"){for(var option in arguments[i])
[2] Fix | Delete
if(typeof ctx[option]!="undefined")
[3] Fix | Delete
ctx[option]=arguments[i][option];i++;}
[4] Fix | Delete
if(typeof arguments[i]=="number"||(typeof arguments[i]=="string"&&arguments[i].match(RegExp("^[0-9]+[smhdw]$"))))
[5] Fix | Delete
ctx["time"]=arguments[i++];if(typeof arguments[i]=="boolean")
[6] Fix | Delete
ctx["repeat"]=arguments[i++];if(typeof arguments[i]=="boolean")
[7] Fix | Delete
ctx["protect"]=arguments[i++];if(typeof arguments[i]=="object"&&typeof arguments[i+1]=="string"&&_isfn(arguments[i][arguments[i+1]])){ctx["obj"]=arguments[i++];ctx["func"]=arguments[i++];}
[8] Fix | Delete
else if(typeof arguments[i]!="undefined"&&(_isfn(arguments[i])||typeof arguments[i]=="string"))
[9] Fix | Delete
ctx["func"]=arguments[i++];while(typeof arguments[i]!="undefined")
[10] Fix | Delete
ctx["args"].push(arguments[i++]);if(override){if(typeof arguments[1]=="object"){for(var option in arguments[0])
[11] Fix | Delete
if(typeof ctx[option]!="undefined"&&typeof arguments[1][option]=="undefined")
[12] Fix | Delete
ctx[option]=arguments[0][option];}
[13] Fix | Delete
else{for(var option in arguments[0])
[14] Fix | Delete
if(typeof ctx[option]!="undefined")
[15] Fix | Delete
ctx[option]=arguments[0][option];}
[16] Fix | Delete
i++;}
[17] Fix | Delete
ctx["_scheduler"]=this;ctx["_handle"]=null;var match=String(ctx["time"]).match(RegExp("^([0-9]+)([smhdw])$"));if(match&&match[0]!="undefined"&&match[1]!="undefined")
[18] Fix | Delete
ctx["time"]=String(parseInt(match[1])*{s:1000,m:1000*60,h:1000*60*60,d:1000*60*60*24,w:1000*60*60*24*7}[match[2]]);if(ctx["id"]==null)
[19] Fix | Delete
ctx["id"]=(String(ctx["repeat"])+":"
[20] Fix | Delete
+String(ctx["protect"])+":"
[21] Fix | Delete
+String(ctx["time"])+":"
[22] Fix | Delete
+String(ctx["obj"])+":"
[23] Fix | Delete
+String(ctx["func"])+":"
[24] Fix | Delete
+String(ctx["args"]));if(ctx["protect"])
[25] Fix | Delete
if(typeof this.bucket[ctx["id"]]!="undefined")
[26] Fix | Delete
return this.bucket[ctx["id"]];if(!_isfn(ctx["func"])){if(ctx["obj"]!=null&&typeof ctx["obj"]=="object"&&typeof ctx["func"]=="string"&&_isfn(ctx["obj"][ctx["func"]]))
[27] Fix | Delete
ctx["func"]=ctx["obj"][ctx["func"]];else
[28] Fix | Delete
ctx["func"]=eval("function () { "+ctx["func"]+" }");}
[29] Fix | Delete
ctx["_handle"]=this._schedule(ctx);this.bucket[ctx["id"]]=ctx;return ctx;},reschedule:function(ctx){if(typeof ctx=="string")
[30] Fix | Delete
ctx=this.bucket[ctx];ctx["_handle"]=this._schedule(ctx);return ctx;},_schedule:function(ctx){var trampoline=function(){var obj=(ctx["obj"]!=null?ctx["obj"]:ctx);(ctx["func"]).apply(obj,ctx["args"]);if(typeof(ctx["_scheduler"]).bucket[ctx["id"]]!="undefined"&&ctx["repeat"])
[31] Fix | Delete
(ctx["_scheduler"])._schedule(ctx);else
[32] Fix | Delete
delete(ctx["_scheduler"]).bucket[ctx["id"]];};return setTimeout(trampoline,ctx["time"]);},cancel:function(ctx){if(typeof ctx=="string")
[33] Fix | Delete
ctx=this.bucket[ctx];if(typeof ctx=="object"){clearTimeout(ctx["_handle"]);delete this.bucket[ctx["id"]];}}};$.extend({scheduler$:new $.scheduler(),schedule:function(){return $.scheduler$.schedule.apply($.scheduler$,arguments)},reschedule:function(){return $.scheduler$.reschedule.apply($.scheduler$,arguments)},cancel:function(){return $.scheduler$.cancel.apply($.scheduler$,arguments)}});$.fn.extend({schedule:function(){var a=[{}];for(var i=0;i<arguments.length;i++)
[34] Fix | Delete
a.push(arguments[i]);return this.each(function(){a[0]={"id":this,"obj":this};return $.schedule.apply($,a);});}});})(jQuery);
[35] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function