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 authored Aug 3, 2017
1 parent 7e28e98 commit 6648335
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 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 @@ -3,7 +3,6 @@ import 'plugins/kibana/dashboard/saved_dashboard/saved_dashboards';
import 'plugins/kibana/dashboard/styles/index.less';
import 'plugins/kibana/dashboard/dashboard_config';
import uiRoutes from 'ui/routes';
import 'ui/accessibility/kbn_accessible_click';

import dashboardListingTemplate from './listing/dashboard_listing.html';
import { DashboardListingController } from './listing/dashboard_listing';
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: 0 additions & 1 deletion src/core_plugins/timelion/public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import moment from 'moment-timezone';
import { DocTitleProvider } from 'ui/doc_title';
import { SavedObjectRegistryProvider } from 'ui/saved_objects/saved_object_registry';
import { notify } from 'ui/notify';
import 'ui/accessibility/kbn_accessible_click';

require('plugins/timelion/directives/cells/cells');
require('plugins/timelion/directives/fixed_element');
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 6648335

Please sign in to comment.