Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fixed decorator pattern example #65
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Sorry for epic lag getting back to you on this. This example is indeed broken, but can better be fixed by writing TextProcessor as a class and adding an empty "constructor: (@processors) ->" line. This eliminates the need for @'s on the function names. I'm closing this req, but thank you for posting this!