mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-12 15:02:34 +02:00
fix(core): fixed eslint warning
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user