Drop unneeded binds

There are no references to `this` in these functions.

// FREEBIE
pull/749/head
lilia 8 years ago
parent 7cbaac5590
commit e1662f8537

@ -37952,8 +37952,8 @@ var TextSecureServer = (function() {
then(generateKeys).
then(registerKeys).
then(registrationDone);
}.bind(this));
}.bind(this));
});
});
},
registerSecondDevice: function(setProvisioningUrl, confirmNumber, progressCallback) {
var createAccount = this.createAccount.bind(this);
@ -38024,7 +38024,7 @@ var TextSecureServer = (function() {
if (preKeyCount < 10) {
return generateKeys().then(registerKeys);
}
}.bind(this));
});
}.bind(this));
},
rotateSignedPreKey: function() {

@ -34,8 +34,8 @@
then(generateKeys).
then(registerKeys).
then(registrationDone);
}.bind(this));
}.bind(this));
});
});
},
registerSecondDevice: function(setProvisioningUrl, confirmNumber, progressCallback) {
var createAccount = this.createAccount.bind(this);
@ -106,7 +106,7 @@
if (preKeyCount < 10) {
return generateKeys().then(registerKeys);
}
}.bind(this));
});
}.bind(this));
},
rotateSignedPreKey: function() {

Loading…
Cancel
Save