Skip to content

Commit

Permalink
fix: override docs-viewer
Browse files Browse the repository at this point in the history
Old way of working with ember-keyboard breaks addon-docs. Cleanup
of `docs-viewer` breaks the application. We override the `docs-viewer`
to not use ember-keybard because we don't need this behavior.
  • Loading branch information
LevelbossMike committed Nov 2, 2020
1 parent aa4fa93 commit b19101b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/dummy/app/components/docs-viewer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import Component from '@ember/component';
import layout from 'ember-cli-addon-docs/components/docs-viewer/template';
import { inject as service } from '@ember/service';

export default Component.extend({
layout,
docsRoutes: service(),
router: service(),

classNames: 'docs-viewer docs-flex docs-flex1',
});

0 comments on commit b19101b

Please sign in to comment.