code cleanup
This commit is contained in:
parent
0760c53232
commit
406c5cb8af
|
@ -218,8 +218,6 @@
|
||||||
if (this.__submitted) throw new Error("Transaction already submitted");
|
if (this.__submitted) throw new Error("Transaction already submitted");
|
||||||
this.__submitted = true;
|
this.__submitted = true;
|
||||||
txself = this;
|
txself = this;
|
||||||
//successcb = function() {};
|
|
||||||
//if (success) {
|
|
||||||
successcb = function()
|
successcb = function()
|
||||||
{
|
{
|
||||||
if(transaction_queue[txself.trans_id].length > 0)
|
if(transaction_queue[txself.trans_id].length > 0)
|
||||||
|
@ -234,7 +232,6 @@
|
||||||
return success(txself);
|
return success(txself);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//}
|
|
||||||
errorcb = function(res) {};
|
errorcb = function(res) {};
|
||||||
if (error) {
|
if (error) {
|
||||||
errorcb = function(res) {
|
errorcb = function(res) {
|
||||||
|
|
Loading…
Reference in New Issue