Restore Buy bitcoin page and add buy.bitcoin.com as a service there
This commit is contained in:
parent
2fa7f3dfd1
commit
a761b58ab0
8 changed files with 114 additions and 16 deletions
24
src/js/services/buydotbitcoindotcomService.js
Normal file
24
src/js/services/buydotbitcoindotcomService.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.services').factory('buydotbitcoindotcomService', function($http, $log, $window, $filter, platformInfo, storageService, buyAndSellService, lodash, configService, txFormatService) {
|
||||
var root = {};
|
||||
var credentials = {};
|
||||
var isCordova = platformInfo.isCordova;
|
||||
|
||||
root.init = function(cb) {
|
||||
|
||||
};
|
||||
|
||||
var register = function() {
|
||||
|
||||
buyAndSellService.register({
|
||||
name: 'buydotbitcoindotcom',
|
||||
logo: 'img/bitcoin-com-logo.png',
|
||||
location: 'Buy Bitcoin With Credit Card',
|
||||
sref: 'tabs.buyandsell.bitcoindotcom'
|
||||
});
|
||||
};
|
||||
|
||||
register();
|
||||
return root;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue