One of the joy of working with Open Source projects is when you get an awesome contribution coming out of nowhere.
Jeff Lindsay requested to pull one of his branch of stomp-websocket where he converted all the code to CoffeeScript, added unit tests with a mock implementation of a WebSocket server. This work is a preliminary for more features (including a much-needed support for STOMP 1.1).
When he offered to pull its branch, he wonders if the move to CoffeeScript was controversial and if I would accept it.
However I have started to question this choice recently.
I am quite pleased with the new code of stomp-websocket in stomp.coffee. It reads much better than the original stomp.js, there are no longer noisy
vars (when they are not missing by errors!).
If that is not the case, please report any regression or bug on GitHub issue tracker.
As usual, do not hesitate to contribute:
git clone git://github.com/jmesnil/stomp-websocket.git
As Jeff Lindsay can attest, I welcome good contributions :)