Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Lips authored Mar 18, 2019
1 parent a4096cb commit 0b210ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ $.fn.a=function($_){return this.each(function(){if($(this).data().t)$(this).t('a
$.fn.p=function($_){return this.each(function(){if($(this).data().is_typing)$(this).t('pause',($_)?(($_===!1||$_===!!1)?$_:undefined):undefined);});},
$.fn.b=function($_){return this.each(function(){if($(this).data().t)$(this).t('beep');});},
$.fn.s=function($_){return this.each(function(){if($(this).data().t)$(this).t('speed',$_);});},
$.fn.q=function($_){return this.each(function(){if($(this).data().t&&$.type($_)[0]=='s'){if(!(q=$(this).data()).q)q.q=[];q.q.push($_);if(!$(this).data().is_typing)$(this).a(q.q.shift());};});},
$.fn.q=function($_){return this.each(function(){if($(this).data().t&&$.type($_)[0].match(/s|n/)){if(!(q=$(this).data()).q)q.q=[];q.q.push($_.toString());if(!$(this).data().is_typing)$(this).a(q.q.shift());};});},
$.fn.t_off=function($_){return this.each(function(){if($(this).data().t){if(ti=C.data('ti'))clearInterval(ti);if(bi=C.data('bi'))clearInterval(bi);C.removeData();$('.t-container',C).replaceWith(function(){return this.childNodes;});$('.t-caret',C).remove();};if($_===!!1)C.text('');});}

})(jQuery);

0 comments on commit 0b210ed

Please sign in to comment.