UNPKG

react-conventions

Version:

An open source set of React components that implement Ambassador's Design and UX patterns.

12 lines (10 loc) 346 B
/** * PolyFills make me sad */ var KeyEvent = KeyEvent || {} KeyEvent.DOM_VK_UP = KeyEvent.DOM_VK_UP || 38 KeyEvent.DOM_VK_DOWN = KeyEvent.DOM_VK_DOWN || 40 KeyEvent.DOM_VK_RETURN = KeyEvent.DOM_VK_RETURN || 13 KeyEvent.DOM_VK_ENTER = KeyEvent.DOM_VK_ENTER || 14 KeyEvent.DOM_VK_ESCAPE = KeyEvent.DOM_VK_ESCAPE || 27 module.exports = KeyEvent