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
Post a Comment