Torkel Ödegaard 11 лет назад
Родитель
Сommit
61cd5cf4e6
2 измененных файлов с 3 добавлено и 4 удалено
  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 || [];