fix(eslint): Inconsistent spacing before function parentheses (#1844)

Defines `space-before-function-paren` eslint rule and changes files accordingly.
This commit is contained in:
Mikael Korpela
2017-08-14 23:50:33 +03:00
committed by GitHub
parent 4fcf240550
commit f44c9bce71
21 changed files with 214 additions and 210 deletions

View File

@@ -1,4 +1,4 @@
(function () {
(function () {
'use strict';
angular
@@ -19,7 +19,7 @@
// Remove existing Article
function remove() {
if ($window.confirm('Are you sure you want to delete?')) {
vm.article.$remove(function() {
vm.article.$remove(function () {
$state.go('admin.articles.list');
Notification.success({ message: '<i class="glyphicon glyphicon-ok"></i> Article deleted successfully!' });
});