add tests and fix some minor issues

This commit is contained in:
Manuel Araoz 2014-07-01 19:49:05 -03:00
commit 8b25b5932f
3 changed files with 29 additions and 6 deletions

View file

@ -5,7 +5,6 @@ var UriHandler = function() {};
UriHandler.prototype.register = function() {
var base = window.location.origin + '/';
var url = base + '#/uri_payment/%s';
console.log(url);
navigator.registerProtocolHandler('bitcoin',
url, 'Copay');
};