javascript - SetInterval/SetTimeout halted after sleep -


the refresh cycle of script either interval or timeout firing arbitrarily after coming sleep. how fix this?

consider debug app using $.ajaxsetup - need discover error code , implement routine re-gain session!

$.ajaxsetup({     error: function(e, x, settings, exception) {         console.warn(e, 'e');         console.warn(x, 'x');         console.warn(settings, 'settings');         console.warn(exception, 'exception');     } }); 

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -