Skip to content

Commit

Permalink
feat(core): add keyboard events
Browse files Browse the repository at this point in the history
  • Loading branch information
stuf committed Oct 11, 2019
1 parent 968146a commit 79e3b1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/core/keyboard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { takeEvents } from './_shared';

export const onKeyDown = takeEvents('keydown', document);
export const onKeyUp = takeEvents('keyup', document);
1 change: 0 additions & 1 deletion src/core/mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @module mouse
* @namespace core
*/
import * as U from 'karet.util';
import * as K from 'kefir';
import * as T from './mouse.d';

Expand Down

0 comments on commit 79e3b1f

Please sign in to comment.