paypro: remove old parse uri code. more debugging.
This commit is contained in:
parent
7c39915dd0
commit
7915008433
3 changed files with 16 additions and 21 deletions
|
|
@ -59,19 +59,6 @@ HDPath.parseBitcoinURI = function(uri) {
|
|||
var splitQuestion = data.split('?');
|
||||
ret.address = splitQuestion[0];
|
||||
|
||||
/*
|
||||
if (splitQuestion.length > 1) {
|
||||
var search = splitQuestion[1];
|
||||
data = JSON.parse('{"' + search.replace(/&/g, '","').replace(/=/g, '":"') + '"}',
|
||||
function(key, value) {
|
||||
return key === "" ? value : decodeURIComponent(value);
|
||||
});
|
||||
ret.amount = parseFloat(data.amount);
|
||||
ret.message = data.message;
|
||||
ret.merchant = data.r;
|
||||
}
|
||||
*/
|
||||
|
||||
if (splitQuestion.length > 1) {
|
||||
var data = {};
|
||||
var search = splitQuestion[1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue