UNPKG

react-key-handler

Version:

React component to handle keyboard events

125 lines (124 loc) 4.8 kB
{ "id": "RiJr", "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 }, { "name": "./isNode", "loc": { "line": 12, "column": 21 }, "parent": "/Users/adc/Developer/ayrton/react-key-handler/node_modules/fbjs/lib/isTextNode.js", "resolved": "/Users/adc/Developer/ayrton/react-key-handler/node_modules/fbjs/lib/isNode.js" } ], "generated": { "js": "\"use strict\";var e=require(\"./isNode\");function r(r){return e(r)&&3==r.nodeType}module.exports=r;", "map": { "mappings": [ { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 1, "column": 0 }, "generated": { "line": 1, "column": 0 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 12, "column": 0 }, "generated": { "line": 1, "column": 13 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 12, "column": 0 }, "generated": { "line": 1, "column": 17 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 12, "column": 0 }, "generated": { "line": 1, "column": 19 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 12, "column": 0 }, "generated": { "line": 1, "column": 27 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 18, "column": 0 }, "generated": { "line": 1, "column": 39 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 18, "column": 0 }, "generated": { "line": 1, "column": 48 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 18, "column": 0 }, "generated": { "line": 1, "column": 50 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 53 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 60 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 62 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 66 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 69 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 19, "column": 0 }, "generated": { "line": 1, "column": 71 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 22, "column": 0 }, "generated": { "line": 1, "column": 80 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 22, "column": 0 }, "generated": { "line": 1, "column": 87 } }, { "source": "../node_modules/fbjs/lib/isTextNode.js", "original": { "line": 22, "column": 0 }, "generated": { "line": 1, "column": 95 } } ], "sources": { "../node_modules/fbjs/lib/isTextNode.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\nvar isNode = require('./isNode');\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM text node.\n */\nfunction isTextNode(object) {\n return isNode(object) && object.nodeType == 3;\n}\n\nmodule.exports = isTextNode;" }, "lineCount": null } }, "hash": "b54637f804db76d062ee498cf119ce48", "cacheData": { "env": {} } }