docopt.coffee
docopt.coffee copied to clipboard
"throw" errors instead of trying to "raise" them
The Coffee Script port says raise when it means throw, the valid ECMAScript keyword for error-raising statements. I'm guessing the test suite checks only that an error is raised, but what it's actually detecting is the not-defined error for raise itself.
The diff was longer than I expected when I re-compiled with the most recent Coffee Script, so I edited the .js by hand instead.
Anybody home?