sdether / josh.js

Toolkit for building a bash-like shell in the browser, including full readline support
http://sdether.github.com/josh.js/
Apache License 2.0
390 stars 76 forks source link

Non-fatal error with closure compiler #21

Open aaronmars opened 10 years ago

aaronmars commented 10 years ago

Closure gives the following error in readline.js. I'm not sure what the expected behavior is, but the line in question looks like it does nothing.

js/readline.js:165: WARNING - Suspicious code. The result of the 'getelem' operator is not being used.
        _keyMap[k.modifier][k.code];
        ^