Fix new format
This commit is contained in:
parent
bc66cc1b65
commit
8e1ffbb008
1 changed files with 9 additions and 7 deletions
|
|
@ -6,10 +6,16 @@
|
|||
.module('bitcoincom.services')
|
||||
.factory('buyBitcoinComService', buyBitcoinComService);
|
||||
|
||||
function buyBitcoinComService($http, $log, $window, $filter, platformInfo, storageService, buyAndSellService, gettextCatalog) {
|
||||
var service = {};
|
||||
function buyBitcoinComService(buyAndSellService, gettextCatalog) {
|
||||
var service = {
|
||||
|
||||
service.register = function() {
|
||||
// Functions
|
||||
register: register
|
||||
};
|
||||
|
||||
return service;
|
||||
|
||||
function register() {
|
||||
buyAndSellService.register({
|
||||
name: 'buydotbitcoindotcom',
|
||||
logo: 'img/bitcoin-com-logo-grey.png',
|
||||
|
|
@ -17,9 +23,5 @@
|
|||
sref: 'tabs.buyandsell.bitcoindotcom'
|
||||
});
|
||||
};
|
||||
|
||||
service.register();
|
||||
|
||||
return service;
|
||||
}
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue