Protect all Node-specific code with NODE checks

This commit is contained in:
Jeff Parsons 2017-01-02 15:16:18 -08:00 committed by Jeff Parsons
commit b5d6afd210
49 changed files with 362 additions and 282 deletions

View file

@ -248,4 +248,4 @@ Keys.SHIFTED_KEYCODES[Keys.KEYCODE.FF_DASH] = Keys.ASCII['_'];
Keys.SHIFTED_KEYCODES[Keys.KEYCODE.FF_EQUALS] = Keys.ASCII['+'];
Keys.SHIFTED_KEYCODES[Keys.KEYCODE.FF_SEMI] = Keys.ASCII[':'];
module.exports = Keys;
if (NODE) module.exports = Keys;