disinclined.org
/
git
/
mudd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo & rm console.logs
[mudd.git]
/
mud.js
diff --git
a/mud.js
b/mud.js
index
95373f3
..
b8e3074
100644
(file)
--- a/
mud.js
+++ b/
mud.js
@@
-158,7
+158,7
@@
$(document).ready(function(){
});
},
move : function(direction) {
});
},
move : function(direction) {
-
this
.player.move(direction);
+
self
.player.move(direction);
},
}
this.writeToLog = function(action, style, msg) {
},
}
this.writeToLog = function(action, style, msg) {
@@
-226,8
+226,6
@@
$(document).ready(function(){
$.getJSON(endpoint, { 'cmd' : 'start' }, function(json) {
self.build(json)
$.getJSON(endpoint, { 'cmd' : 'start' }, function(json) {
self.build(json)
- }).fail(function(jqxhr, textStatus, error) {
- console.log(jqxhr, jqxhr.responseText, textStatus, error);
});
this.populate = function(players) {
});
this.populate = function(players) {