Skip to content

Commit

Permalink
[Accessibilty] Make kbn_accessible_click part of autoload/all (#13299)
Browse files Browse the repository at this point in the history
* [Accessibility] Ensure kbn-accessible-click is part of autoload/all

* remove unecessary kbn_accessible_click imports

* use an index.js file to expose inner directives
  • Loading branch information
tsullivan committed Aug 3, 2017
1 parent ba46cd4 commit e9528c2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/core_plugins/kibana/public/dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'plugins/kibana/dashboard/dashboard';
import 'plugins/kibana/dashboard/saved_dashboard/saved_dashboards';
import 'plugins/kibana/dashboard/styles/index.less';
import uiRoutes from 'ui/routes';
import 'ui/accessibility/kbn_accessible_click';
import { SavedObjectRegistryProvider } from 'ui/saved_objects/saved_object_registry';
import { savedDashboardRegister } from 'plugins/kibana/dashboard/saved_dashboard/saved_dashboard_register';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import html from 'plugins/kibana/discover/components/field_chooser/discover_fiel
import _ from 'lodash';
import 'ui/directives/css_truncate';
import 'ui/directives/field_name';
import 'ui/accessibility/kbn_accessible_click';
import detailsHtml from 'plugins/kibana/discover/components/field_chooser/lib/detail_views/string.html';
import { uiModules } from 'ui/modules';
const app = uiModules.get('apps/discover');
Expand Down
1 change: 1 addition & 0 deletions src/ui/public/accessibility/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import './kbn_accessible_click';
1 change: 1 addition & 0 deletions src/ui/public/autoload/accessibility.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import '../accessibility';
1 change: 1 addition & 0 deletions src/ui/public/autoload/all.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import './accessibility';
import './modules';
import './directives';
import './filters';
Expand Down

0 comments on commit e9528c2

Please sign in to comment.