UNPKG

react-key-handler

Version:

React component to handle keyboard events

194 lines (193 loc) 7.55 kB
{ "id": "kKLW", "dependencies": [ { "name": "/Users/adc/Developer/ayrton/react-key-handler/node_modules/fbjs/package.json", "includedInParent": true, "mtime": 1528784332000 }, { "name": "/Users/adc/Developer/ayrton/react-key-handler/package.json", "includedInParent": true, "mtime": 1533459603383 }, { "name": "/Users/adc/Developer/ayrton/react-key-handler/.babelrc", "includedInParent": true, "mtime": 1533458194366 } ], "generated": { "js": "\"use strict\";function e(e){var o=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!(\"function\"==typeof o.Node?e instanceof o.Node:\"object\"==typeof e&&\"number\"==typeof e.nodeType&&\"string\"==typeof e.nodeName))}module.exports=e;", "map": { "mappings": [ { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 1, "column": 0 }, "generated": { "line": 1, "column": 0 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 16, "column": 0 }, "generated": { "line": 1, "column": 13 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 16, "column": 0 }, "generated": { "line": 1, "column": 22 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 16, "column": 0 }, "generated": { "line": 1, "column": 24 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 17, "column": 0 }, "generated": { "line": 1, "column": 27 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 18, "column": 0 }, "generated": { "line": 1, "column": 31 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 17, "column": 0 }, "generated": { "line": 1, "column": 34 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 17, "column": 0 }, "generated": { "line": 1, "column": 36 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 17, "column": 0 }, "generated": { "line": 1, "column": 38 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 17, "column": 0 }, "generated": { "line": 1, "column": 53 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 17, "column": 0 }, "generated": { "line": 1, "column": 55 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 18, "column": 0 }, "generated": { "line": 1, "column": 65 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 18, "column": 0 }, "generated": { "line": 1, "column": 78 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 85 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 94 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 99 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 118 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 120 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 125 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 138 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 140 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 145 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 162 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 165 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 182 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 184 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 194 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 211 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 213 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 22, "column": 0 }, "generated": { "line": 1, "column": 224 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 22, "column": 0 }, "generated": { "line": 1, "column": 231 } }, { "source": "../node_modules/fbjs/lib/isNode.js", "original": { "line": 22, "column": 0 }, "generated": { "line": 1, "column": 239 } } ], "sources": { "../node_modules/fbjs/lib/isNode.js": "'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM node.\n */\nfunction isNode(object) {\n var doc = object ? object.ownerDocument || object : document;\n var defaultView = doc.defaultView || window;\n return !!(object && (typeof defaultView.Node === 'function' ? object instanceof defaultView.Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));\n}\n\nmodule.exports = isNode;" }, "lineCount": null } }, "hash": "1524a0a1c50bacefd4029046af93c371", "cacheData": { "env": {} } }