nibblebot / sublime-js2coffee

:warning: UNMAINTAINED :warning:
MIT License
30 stars 8 forks source link

Several Changes #3

Closed notslang closed 12 years ago

notslang commented 12 years ago

I had an issue with js2coffee not being detected on my path after installing it (even though I used the install instructions provided and am able to run js2coffee from terminal)... So, I fixed that and ended up making several other improvements including:

...and general refactoring

So far, I have only tested these changes on Linux (Ubuntu), so I am not sure if the path used to set the syntax file will break on Windows since it uses \'s (somebody who uses Windows should test this).

PS: Thank-you very much for writing this, it is hugely useful to me since I usually end up converting every piece of JS I come in contact with, into CoffeeScript.

nibblebot commented 12 years ago

very good! tested on OSX and it works fine with path finding. not sure why I was having trouble without setting path directly to /usr/local/bin I'll update the readme to reflect these changes