jslint
This commit is contained in:
parent
116ab0169f
commit
6500143cdc
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ var db = function(callback) {
|
||||||
console.log("Redis error: " + err);
|
console.log("Redis error: " + err);
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
};
|
||||||
|
|
||||||
db.prototype = {
|
db.prototype = {
|
||||||
clearRoom: function(room, callback) {
|
clearRoom: function(room, callback) {
|
||||||
|
@ -102,7 +102,7 @@ db.prototype = {
|
||||||
|
|
||||||
var cards = [];
|
var cards = [];
|
||||||
|
|
||||||
for (i in res) {
|
for (var i in res) {
|
||||||
cards.push( JSON.parse(res[i]) );
|
cards.push( JSON.parse(res[i]) );
|
||||||
}
|
}
|
||||||
//console.dir(cards);
|
//console.dir(cards);
|
||||||
|
|
Loading…
Add table
Reference in a new issue