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
have an edge case where we are trying a single phrase and setting endless to false (we get data from a service periodically). In this condition, afterPhrase and afterAll callbacks were not being invoked.. Made the following changes lines 48 - 55 - have testing under numerous conditions.
if (i === text.length && !options.endless) {
if (typeof options.afterPhrase === 'function') options.afterPhrase();
return(typeof options.afterAll === 'function' ? options.afterAll() : null );
} else if (i === text.length) {
i = 0;
}
timer = setTimeout(typetext, options.delay, i);
if (typeof options.afterPhrase === 'function') options.afterPhrase(timer);
The text was updated successfully, but these errors were encountered:
have an edge case where we are trying a single phrase and setting endless to false (we get data from a service periodically). In this condition, afterPhrase and afterAll callbacks were not being invoked.. Made the following changes lines 48 - 55 - have testing under numerous conditions.
The text was updated successfully, but these errors were encountered: