Closed tgriesser closed 10 years ago
Interesting use case indeed! Even though I'd say it's a pretty ugly and unintuitive syntax, I do like the fact that the patch is trivial. :) I'm not really sure if we'll want to document this behavior, as programs would be very prone to break with minor CoffeeScript version updates, I'd imagine... More opinions on this are very welcome!
First, just wanted to say really great work on this fork.
I've recently found myself in need of the old
extended
functionality which was removed awhile back (ticket https://github.com/jashkenas/coffee-script/pull/1960), and I figured that this fork might be a good way to add it back in there. I found that exposingUTILITIES
andutility
innodes.coffee
helps in this case, allowing you to do something like:Does this seem like a reasonable use case?