Permalink
Browse files

some interpreters didn't like that

  • Loading branch information...
1 parent b34d895 commit d70979f47388233ddcaf5007434c4c081746c310 @digitaltom committed Dec 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/game.js
View
@@ -63,8 +63,8 @@ player = {
};
-String.prototype.replaceAt = function (index, char) {
- return this.substr(0, index) + char + this.substr(index + char.length);
+String.prototype.replaceAt = function (index, characters) {
+ return this.substr(0, index) + characters + this.substr(index + characters.length);
}
Number.prototype.inRange = function (a, b) {

0 comments on commit d70979f

Please sign in to comment.