-
-
Save alecperkins/d26741ed5fb7eb07e42c to your computer and use it in GitHub Desktop.
Revisions
-
alecperkins revised this gist
Sep 6, 2014 . 1 changed file with 5 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,20 +6,19 @@ "bitandbang", "Tierney Coren" ] while(names.length > 0){ var name = names.shift(); names.push(name); $('.title') .typetype( "I am " + name + ".", { e: 0.04, // error rate. (use e=0 for perfect typing) t: 100, // interval between keypresses }) .backspace( name.length + 1, { t: 100 // interval between keypresses }); } -
TierneyC revised this gist
Sep 6, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,7 @@ names[i].length + 1, { t: 100 // interval between keypresses }); if(names[i] === names.length) { //What's the best way to reset the array to names[0]? } -
TierneyC created this gist
Sep 6, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ var names = [ "&!", "bnb", "bang", "bitnb", "bitandbang", "Tierney Coren" ] for(i = 0; i < names.length; i++){ $('.title') .typetype( "I am " + names[i] ".", { e: 0.04, // error rate. (use e=0 for perfect typing) t: 100, // interval between keypresses }) .backspace( names[i].length + 1, { t: 100 // interval between keypresses })l if(names[i] === names.length) { //What's the best way to reset the array to names[0]? } }