Permalink
Browse files

Clean up previous commit. (Whitespace and comments)

  • Loading branch information...
1 parent 4149723 commit a8aa6fa83de7ca2a097044a450f7a1a7e5a94bfd @mmmulani committed with songexe Jun 24, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 cryptic.js
View
@@ -423,9 +423,9 @@ crosswordPlayer.prototype = {
return;
}
- // Display the character on the screen at the current highlighted spot
+ // Display the character on the screen at the current highlighted spot.
this._setCellText(
- index,
+ index,
String.fromCharCode(event.keyCode).toUpperCase());
if (event.keyCode == 8) {
// The backspace key should move they cursor backwards.
@@ -435,8 +435,8 @@ crosswordPlayer.prototype = {
}
}
},
-
- // Move the cursor forward based on the direction of the keypress
+
+ // Move the cursor forward based on the direction of the keypress.
moveForward: function(index) {
if (this._lastActive.direction) {
this.moveDown(index);

0 comments on commit a8aa6fa

Please sign in to comment.