Fixes karma tests
This commit is contained in:
parent
0a027360a8
commit
91c7ab100d
4 changed files with 10 additions and 5 deletions
|
|
@ -9,7 +9,7 @@ angular.module('copayApp.controllers').controller('BackupController',
|
|||
backupService.download(w);
|
||||
};
|
||||
|
||||
$scope.dowloadBackup = function() {
|
||||
$scope.downloadBackup = function() {
|
||||
var w = $rootScope.wallet;
|
||||
backupService.download(w);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,6 +53,11 @@ angular.module('copayApp.controllers').controller('SidebarController',
|
|||
}
|
||||
}
|
||||
|
||||
// ng-repeat defined number of times instead of repeating over array?
|
||||
$scope.getNumber = function(num) {
|
||||
return new Array(num);
|
||||
}
|
||||
|
||||
$http.get('https://api.github.com/repos/bitpay/copay/tags').success(function(data) {
|
||||
var toInt = function(s) {
|
||||
return parseInt(s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue