mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
Fixed js style errors
This commit is contained in:
parent
7e0f1a57af
commit
9192acf250
@ -73,7 +73,7 @@ function (angular, _, moment) {
|
||||
};
|
||||
|
||||
$scope.handleSaveDashError = function(err) {
|
||||
if (err.data && err.data.status === "version-mismatch" ) {
|
||||
if (err.data && err.data.status === "version-mismatch") {
|
||||
err.isHandled = true;
|
||||
|
||||
$scope.appEvent('confirm-modal', {
|
||||
@ -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;
|
||||
|
||||
$scope.appEvent('confirm-modal', {
|
||||
|
@ -5,6 +5,7 @@ module.exports = function(grunt) {
|
||||
grunt.registerTask('build', [
|
||||
'jshint:source',
|
||||
'jshint:tests',
|
||||
'jscs',
|
||||
'karma:test',
|
||||
'clean:on_start',
|
||||
'less:src',
|
||||
@ -40,7 +41,7 @@ module.exports = function(grunt) {
|
||||
});
|
||||
grunt.config('copy.backend_files', {
|
||||
expand: true,
|
||||
src: ['conf/defaults.ini', 'vendor/**/*', 'scripts/*'],
|
||||
src: ['conf/defaults.ini', 'conf/sample.ini', 'vendor/**/*', 'scripts/*'],
|
||||
options: { mode: true},
|
||||
dest: '<%= tempDir %>'
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user