From 762251c39673538e7b68ff64eda0359c0fd7207c Mon Sep 17 00:00:00 2001 From: OldHawk Date: Mon, 16 Oct 2017 11:52:29 +0800 Subject: [PATCH] fix(core): fixed eslint warning --- .../client/controllers/forums-topic.client.controller.js | 2 +- .../client/services/torrent-download.client.service.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/forums/client/controllers/forums-topic.client.controller.js b/modules/forums/client/controllers/forums-topic.client.controller.js index 9bb652e1..1e7c174d 100644 --- a/modules/forums/client/controllers/forums-topic.client.controller.js +++ b/modules/forums/client/controllers/forums-topic.client.controller.js @@ -13,7 +13,7 @@ marked, ModalConfirmService, $stateParams, TopicsService, localStorageService, $compile, RepliesService, $filter, Upload, DownloadService, mtDebug) { var vm = this; - vm.DLS = DownloadService + vm.DLS = DownloadService; vm.forumsConfig = MeanTorrentConfig.meanTorrentConfig.forumsConfig; vm.announce = MeanTorrentConfig.meanTorrentConfig.announce; vm.scoreConfig = MeanTorrentConfig.meanTorrentConfig.score; diff --git a/modules/torrents/client/services/torrent-download.client.service.js b/modules/torrents/client/services/torrent-download.client.service.js index 99b9cfcd..e3fb9faa 100644 --- a/modules/torrents/client/services/torrent-download.client.service.js +++ b/modules/torrents/client/services/torrent-download.client.service.js @@ -5,9 +5,9 @@ .module('torrents.services') .factory('DownloadService', DownloadService); - DownloadService.$inject = ['$http', 'FileSaver', '$translate', 'Notification', 'NotifycationService']; + DownloadService.$inject = ['$http', 'FileSaver', 'NotifycationService', 'DebugConsoleService']; - function DownloadService($http, FileSaver, $translate, Notification, NotifycationService) { + function DownloadService($http, FileSaver, NotifycationService, mtDebug) { return { downloadFile: downloadFile,