Drop unneeded binds

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

// FREEBIE
This commit is contained in:
lilia 2017-02-20 20:34:09 -08:00
parent 7cbaac5590
commit e1662f8537
2 changed files with 6 additions and 6 deletions

View file

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

View file

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