Skip to content

Commit

Permalink
Give decorated key responder class a name
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemelia committed Jun 2, 2020
1 parent 3c23f33 commit 2d7e2d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addon/decorators/key-responder.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export default function keyResponder(DecoratedClass, opts = {}) {
}

return class ClassAsKeyResponder extends DecoratedClass {
static name = `${DecoratedClass.name}WithKeyResponder`;

@service keyboard;

get keyboardPriority() {
Expand Down

0 comments on commit 2d7e2d3

Please sign in to comment.