You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second paragraph refers to the .delay implementation in the jQuery source code, but the code section is outdated, since the current implementation looks like this:
// Based off of the plugin by Clint Helfers, with permission.// http://blindsignals.com/index.php/2009/07/jquery-delay/
delay: function(time,type){time=jQuery.fx ? jQuery.fx.speeds[time]||time : time;type=type||"fx";returnthis.queue(type,function(next,hooks){vartimeout=setTimeout(next,time);hooks.stop=function(){clearTimeout(timeout);};});}
It's probably not a good idea to have an example based on source code that's going to change over time, but could a temporary solution be to replace the code section with an updated version of the implementation?