Fix new format

This commit is contained in:
Jean-Baptiste Dominguez 2018-09-21 12:00:21 +02:00
commit 8e1ffbb008

View file

@ -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;
}
})();