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

Fixes for closure compiler builds #20

Closed aaronmars closed 10 years ago

aaronmars commented 10 years ago

There were just a few issues with compiling josh with the closure compiler. Most of the errors were due to reserved words as key names. For example:

{ delete: 'foo' }

Should be:

{ 'delete': 'foo' }

Beyond that, I changed a couple of linter-style things (missing semicolons, === instead of ==).