Jelajahi Sumber

fixed jshint and jscs checks

Torkel Ödegaard 11 tahun lalu
induk
melakukan
61cd5cf4e6
2 mengubah file dengan 3 tambahan dan 4 penghapusan
  1. 2 3
      src/app/routes/dashboard-from-es.js
  2. 1 1
      src/app/services/dashboard.js

+ 2 - 3
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');

+ 1 - 1
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 || [];