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:
Gregg Zigler 2014-08-06 17:07:01 -04:00
commit c8c7a57416
6 changed files with 16 additions and 12 deletions

View file

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