Merge pull request #734 from cmgustavo/feature/wallet-creation

Feature/wallet creation
This commit is contained in:
Ryan X. Charles 2014-06-24 07:19:59 -07:00
commit e0ed8044a7
6 changed files with 177 additions and 122 deletions

View file

@ -21,6 +21,10 @@ angular.module('copayApp.controllers').controller('HeaderController',
'link': '#/backup'
}];
$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); };
var latestVersion = data[0].name.replace('v', '').split('.').map(toInt);