gkz/LiveScript — pull request #187 by quarterto (2012-10-20 07:50:05+00:00)
Title: Don't clobber the global scope in command.ls

command.ls exports a load of things to ```global```. This causes differing behaviour when running LiveScript directly to running the compiled JavaScript: if you use ```fs```, ```path``` &c. without importing the module, it works fine in LiveScript, but then complains once compiled. This has come back to bite me a couple of times at work. This patch still lets these modules, as well as p{1,3}, say, &c., be used in the REPL.

p.s. currently this fucks up tab completion (it prints the entire util.inspect for things in the context), any ideas?