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(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() {

View file

@ -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() {