mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
Whitespace cleanup
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
var module = angular.module('commafeed.controllers', []);
|
var module = angular.module('commafeed.controllers', []);
|
||||||
|
|
||||||
module.run(function($rootScope) {
|
module.run(['$rootScope', function($rootScope) {
|
||||||
$rootScope.$on('emitMark', function(event, args) {
|
$rootScope.$on('emitMark', function(event, args) {
|
||||||
// args.entry - the entry
|
// args.entry - the entry
|
||||||
$rootScope.$broadcast('mark', args);
|
$rootScope.$broadcast('mark', args);
|
||||||
@@ -14,7 +14,7 @@ module.run(function($rootScope) {
|
|||||||
$rootScope.$on('emitReload', function(event, args) {
|
$rootScope.$on('emitReload', function(event, args) {
|
||||||
$rootScope.$broadcast('reload');
|
$rootScope.$broadcast('reload');
|
||||||
});
|
});
|
||||||
});
|
}]);
|
||||||
|
|
||||||
module.controller('SubscribeCtrl', ['$scope', 'FeedService', 'CategoryService',
|
module.controller('SubscribeCtrl', ['$scope', 'FeedService', 'CategoryService',
|
||||||
function($scope, FeedService, CategoryService) {
|
function($scope, FeedService, CategoryService) {
|
||||||
@@ -90,9 +90,8 @@ function($scope, FeedService, CategoryService) {
|
|||||||
}]);
|
}]);
|
||||||
|
|
||||||
module.controller('CategoryTreeCtrl', ['$scope', '$timeout', '$stateParams', '$window',
|
module.controller('CategoryTreeCtrl', ['$scope', '$timeout', '$stateParams', '$window',
|
||||||
'$location', '$state', '$route', 'CategoryService',
|
'$location', '$state', '$route', 'CategoryService',
|
||||||
function($scope, $timeout, $stateParams,
|
function($scope, $timeout, $stateParams, $window, $location, $state, $route, CategoryService) {
|
||||||
$window, $location, $state, $route, CategoryService) {
|
|
||||||
|
|
||||||
$scope.selectedType = $stateParams._type;
|
$scope.selectedType = $stateParams._type;
|
||||||
$scope.selectedId = $stateParams._id;
|
$scope.selectedId = $stateParams._id;
|
||||||
@@ -202,7 +201,7 @@ function($scope, $timeout, $stateParams,
|
|||||||
}]);
|
}]);
|
||||||
|
|
||||||
module.controller('ToolbarCtrl', ['$scope', '$http', '$state', '$stateParams',
|
module.controller('ToolbarCtrl', ['$scope', '$http', '$state', '$stateParams',
|
||||||
'$route', '$location', 'SettingsService', 'EntryService', 'ProfileService',
|
'$route', '$location', 'SettingsService', 'EntryService', 'ProfileService',
|
||||||
function($scope, $http, $state, $stateParams, $route, $location,
|
function($scope, $http, $state, $stateParams, $route, $location,
|
||||||
SettingsService, EntryService, ProfileService) {
|
SettingsService, EntryService, ProfileService) {
|
||||||
|
|
||||||
@@ -278,10 +277,9 @@ function($scope, $http, $state, $stateParams, $route, $location,
|
|||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
module.controller('FeedListCtrl', ['$scope', '$stateParams', '$http', '$route',
|
module.controller('FeedListCtrl', ['$scope', '$stateParams', '$http', '$route',
|
||||||
'$window', 'EntryService', 'SettingsService', 'FeedService', 'CategoryService',
|
'$window', 'EntryService', 'SettingsService', 'FeedService', 'CategoryService',
|
||||||
function($scope, $stateParams, $http, $route,
|
function($scope, $stateParams, $http, $route, $window, EntryService, SettingsService, FeedService, CategoryService) {
|
||||||
$window, EntryService, SettingsService, FeedService, CategoryService) {
|
|
||||||
|
|
||||||
$scope.selectedType = $stateParams._type;
|
$scope.selectedType = $stateParams._type;
|
||||||
$scope.selectedId = $stateParams._id;
|
$scope.selectedId = $stateParams._id;
|
||||||
|
|||||||
Reference in New Issue
Block a user