Pierre Ossman
6bc9cadaef
Use RequireJS module system
...
Use a standard module system rather than a home grown one, and
RequireJS fits better with browsers than CommonJS.
2017-01-23 17:08:46 +01:00
Pierre Ossman
4c3ecd3794
Set strict JavaScript mode globally in each file
...
Makes sure we don't miss it anywhere.
2017-01-18 16:58:17 +01:00
Asad Saeed
7c1b2bac90
Add Meta Key mapping to xtscancodes.js
...
OSLeft/OSRight have been renamed to MetaLeft/MetaRight respectively.
This change will allow the Super/Windows key to be used under the qemu
rfb extension under Chrome and updated browsers.
https://github.com/w3c/uievents-code/issues/7
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code
2016-10-20 01:13:32 +02:00
Solly Ross
bd5340c7ee
Move input-related files into core/input
...
This commit moves all the input-related files from `core/`
to `core/input/`, and renames a couple as relevant
(input.js --> input/devices.js, keyboard.js --> input/util.js).
2016-09-16 15:49:52 -04:00