From 61cd5cf4e682d99b64f2f65404bc095e67870f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 8 Jun 2014 16:09:36 +0200 Subject: [PATCH] fixed jshint and jscs checks --- src/app/routes/dashboard-from-es.js | 5 ++--- src/app/services/dashboard.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/routes/dashboard-from-es.js b/src/app/routes/dashboard-from-es.js index 2e62b3576c1..74e2ff651ed 100644 --- a/src/app/routes/dashboard-from-es.js +++ b/src/app/routes/dashboard-from-es.js @@ -1,10 +1,9 @@ define([ 'angular', 'jquery', - 'config', - 'underscore' + 'config' ], -function (angular, $, config, _) { +function (angular, $, config) { "use strict"; var module = angular.module('kibana.routes'); diff --git a/src/app/services/dashboard.js b/src/app/services/dashboard.js index d00e2961396..19ae6f2c59a 100644 --- a/src/app/services/dashboard.js +++ b/src/app/services/dashboard.js @@ -18,7 +18,7 @@ function (angular, $, kbn, _) { function DashboardModel (data) { if (!data) { data = {}; - }; + } this.title = data.title; this.tags = data.tags || [];