Skip to content

Commit

Permalink
Remove new patterns from this PR
Browse files Browse the repository at this point in the history
Removing the new patterns from this PR to preserve consistency.
  • Loading branch information
stacey-gammon committed Jan 19, 2017
1 parent 31713b0 commit 65131d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import _ from 'lodash';
import 'ui/visualize';
import 'ui/doc_table';
import 'plugins/kibana/dashboard/services/get_object_loaders_for_dashboard.factory';
import 'plugins/kibana/dashboard/services/get_object_loaders_for_dashboard';
import FilterManagerProvider from 'ui/filter_manager';
import uiModules from 'ui/modules';
import panelTemplate from 'plugins/kibana/dashboard/components/panel/panel.html';
Expand All @@ -10,12 +10,7 @@ import { loadSavedObject } from 'plugins/kibana/dashboard/components/panel/lib/l

uiModules
.get('app/dashboard')
.directive('dashboardPanel', function ($injector) {
const Private = $injector.get('Private');
const Notifier = $injector.get('Notifier');
const getObjectLoadersForDashboard = $injector.get('getObjectLoadersForDashboard');
const savedVisualizations = $injector.get('savedVisualizations');
const savedSearches = $injector.get('savedSearches');
.directive('dashboardPanel', function (savedVisualizations, savedSearches, Notifier, Private, $injector, getObjectLoadersForDashboard) {
const filterManager = Private(FilterManagerProvider);

const services = require('plugins/kibana/management/saved_object_registry').all().map(function (serviceObj) {
Expand Down

0 comments on commit 65131d0

Please sign in to comment.