a bit of cleanup, bug fixes, and lint compliance

This commit is contained in:
ansuz
2018-06-21 10:16:16 +02:00
parent c3741f847d
commit c2014c5906
5 changed files with 6 additions and 10 deletions

View File

@@ -411,13 +411,13 @@ define([
cb (obj);
});
};
/*
var removeBlock = function (data, cb) {
sframeChan.query('Q_REMOVE_LOGIN_BLOCK', data, function (err, obj) {
if (err || obj.error) { return void cb ({error: err || obj.error}); }
cb (obj);
});
};
};*/
// XXX
@@ -437,9 +437,10 @@ define([
console.log(Block.getBlockHash(keys));
return;
/*
removeBlock(Block.remove(keys), function (err, obj) {
console.log(err, obj);
});
});*/
});
}