This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const KEY_CODE = { | |
"BACKSPACE": 8, | |
"TAB": 9, | |
"ENTER": 13, | |
"SHIFT": 16, | |
"CTRL": 17, | |
"ALT": 18, | |
"PAUSE": 19, | |
"CAPS_LOCK": 20, | |
"ESCAPE": 27, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Use to parse location.search query attributes. | |
* Example usage: | |
* var query = new QueryValues(location.search); // "?id=124875&foo=bar&foo=baz" | |
* var id = query.attr("id"); // "124875" | |
* var foos = query.attrs("foo"); // ["bar", "baz"] | |
*/ | |
var QueryValues = (function () { | |
var LIMIT = 2; | |