Commit 9192acf2 by Torkel Ödegaard

Fixed js style errors

parent 7e0f1a57
...@@ -73,7 +73,7 @@ function (angular, _, moment) { ...@@ -73,7 +73,7 @@ function (angular, _, moment) {
}; };
$scope.handleSaveDashError = function(err) { $scope.handleSaveDashError = function(err) {
if (err.data && err.data.status === "version-mismatch" ) { if (err.data && err.data.status === "version-mismatch") {
err.isHandled = true; err.isHandled = true;
$scope.appEvent('confirm-modal', { $scope.appEvent('confirm-modal', {
...@@ -86,7 +86,7 @@ function (angular, _, moment) { ...@@ -86,7 +86,7 @@ function (angular, _, moment) {
}); });
} }
if (err.data && err.data.status === "name-exists" ) { if (err.data && err.data.status === "name-exists") {
err.isHandled = true; err.isHandled = true;
$scope.appEvent('confirm-modal', { $scope.appEvent('confirm-modal', {
......
...@@ -5,6 +5,7 @@ module.exports = function(grunt) { ...@@ -5,6 +5,7 @@ module.exports = function(grunt) {
grunt.registerTask('build', [ grunt.registerTask('build', [
'jshint:source', 'jshint:source',
'jshint:tests', 'jshint:tests',
'jscs',
'karma:test', 'karma:test',
'clean:on_start', 'clean:on_start',
'less:src', 'less:src',
...@@ -40,7 +41,7 @@ module.exports = function(grunt) { ...@@ -40,7 +41,7 @@ module.exports = function(grunt) {
}); });
grunt.config('copy.backend_files', { grunt.config('copy.backend_files', {
expand: true, expand: true,
src: ['conf/defaults.ini', 'vendor/**/*', 'scripts/*'], src: ['conf/defaults.ini', 'conf/sample.ini', 'vendor/**/*', 'scripts/*'],
options: { mode: true}, options: { mode: true},
dest: '<%= tempDir %>' dest: '<%= tempDir %>'
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment