react-key-handler
Version:
React component to handle keyboard events
234 lines (233 loc) • 9.58 kB
JSON
{
"id": "UQex",
"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 t(t){return function(){return t}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(t){return t},module.exports=n;",
"map": {
"mappings": [
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 1, "column": 0 },
"generated": { "line": 1, "column": 0 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 12, "column": 0 },
"generated": { "line": 1, "column": 13 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 12, "column": 0 },
"generated": { "line": 1, "column": 22 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 12, "column": 0 },
"generated": { "line": 1, "column": 24 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 13, "column": 0 },
"generated": { "line": 1, "column": 27 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 13, "column": 0 },
"generated": { "line": 1, "column": 34 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 14, "column": 0 },
"generated": { "line": 1, "column": 45 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 14, "column": 0 },
"generated": { "line": 1, "column": 52 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 23, "column": 0 },
"generated": { "line": 1, "column": 55 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 23, "column": 0 },
"generated": { "line": 1, "column": 59 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 23, "column": 0 },
"generated": { "line": 1, "column": 61 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 25, "column": 0 },
"generated": { "line": 1, "column": 74 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 25, "column": 0 },
"generated": { "line": 1, "column": 76 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 25, "column": 0 },
"generated": { "line": 1, "column": 88 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 26, "column": 0 },
"generated": { "line": 1, "column": 90 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 26, "column": 0 },
"generated": { "line": 1, "column": 92 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 26, "column": 0 },
"generated": { "line": 1, "column": 109 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 26, "column": 0 },
"generated": { "line": 1, "column": 112 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 27, "column": 0 },
"generated": { "line": 1, "column": 115 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 27, "column": 0 },
"generated": { "line": 1, "column": 117 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 27, "column": 0 },
"generated": { "line": 1, "column": 133 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 27, "column": 0 },
"generated": { "line": 1, "column": 136 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 28, "column": 0 },
"generated": { "line": 1, "column": 139 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 28, "column": 0 },
"generated": { "line": 1, "column": 141 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 28, "column": 0 },
"generated": { "line": 1, "column": 157 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 28, "column": 0 },
"generated": { "line": 1, "column": 159 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 29, "column": 0 },
"generated": { "line": 1, "column": 165 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 29, "column": 0 },
"generated": { "line": 1, "column": 167 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 29, "column": 0 },
"generated": { "line": 1, "column": 183 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 30, "column": 0 },
"generated": { "line": 1, "column": 194 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 30, "column": 0 },
"generated": { "line": 1, "column": 201 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 32, "column": 0 },
"generated": { "line": 1, "column": 207 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 32, "column": 0 },
"generated": { "line": 1, "column": 209 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 32, "column": 0 },
"generated": { "line": 1, "column": 229 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 32, "column": 0 },
"generated": { "line": 1, "column": 238 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 33, "column": 0 },
"generated": { "line": 1, "column": 241 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 33, "column": 0 },
"generated": { "line": 1, "column": 248 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 36, "column": 0 },
"generated": { "line": 1, "column": 251 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 36, "column": 0 },
"generated": { "line": 1, "column": 258 }
},
{
"source": "../node_modules/fbjs/lib/emptyFunction.js",
"original": { "line": 36, "column": 0 },
"generated": { "line": 1, "column": 266 }
}
],
"sources": {
"../node_modules/fbjs/lib/emptyFunction.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 * \n */\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;"
},
"lineCount": null
}
},
"hash": "e49cedc881e302557e4ba6ef99aed4a7",
"cacheData": { "env": {} }
}