Procházet zdrojové kódy

fixed jshint and jscs checks

Torkel Ödegaard před 11 roky
rodič
revize
61cd5cf4e6

+ 2 - 3
src/app/routes/dashboard-from-es.js

@@ -1,10 +1,9 @@
 define([
 define([
   'angular',
   'angular',
   'jquery',
   'jquery',
-  'config',
-  'underscore'
+  'config'
 ],
 ],
-function (angular, $, config, _) {
+function (angular, $, config) {
   "use strict";
   "use strict";
 
 
   var module = angular.module('kibana.routes');
   var module = angular.module('kibana.routes');

+ 1 - 1
src/app/services/dashboard.js

@@ -18,7 +18,7 @@ function (angular, $, kbn, _) {
     function DashboardModel (data) {
     function DashboardModel (data) {
       if (!data) {
       if (!data) {
         data = {};
         data = {};
-      };
+      }
 
 
       this.title = data.title;
       this.title = data.title;
       this.tags = data.tags || [];
       this.tags = data.tags || [];