1. Add TxProposals to mocha test page
2. The jshint tool found some instances where var was declared twice within a function. Seemed to originate from copy/paste-style coding. Most were unambiguously intended for a single block within the function. In a few cases, two declarations were consumed by one later reference. In those cases, I removed the duplicate var or I refactored slightly.
This commit is contained in:
parent
8e2802e1e7
commit
c8c7a57416
6 changed files with 16 additions and 12 deletions
|
|
@ -25,7 +25,7 @@ angular.module('copayApp.controllers').controller('OpenController',
|
|||
Passphrase.getBase64Async(password, function(passphrase) {
|
||||
var w, errMsg;
|
||||
try {
|
||||
var w = walletFactory.open($scope.selectedWalletId, {
|
||||
w = walletFactory.open($scope.selectedWalletId, {
|
||||
passphrase: passphrase
|
||||
});
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue