Created
September 9, 2014 14:55
-
-
Save jcsrb/9228561b86cae14926c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch dots.html().length | |
when 3 then dots.html("") | |
when 2 then dots.html("...") | |
when 1 then dots.html("..") | |
when 0 then dots.html(".") | |
else dots.html("...") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment