Skip to content

Instantly share code, notes, and snippets.

@zfogg
Last active December 14, 2015 11:38
Show Gist options
  • Save zfogg/5080310 to your computer and use it in GitHub Desktop.
Save zfogg/5080310 to your computer and use it in GitHub Desktop.
Potential CoffeeScript Bug
app.use thing.middleware
src: __dirname
compile: compile
#The above used to compile like this:
`app.use(thing.middleware({
src: __dirname,
compile: compile
}));`
#With the update to 1.5, you now get this:
`app.use(thing.middleware)({
src: __dirname,
compile: compile
});`
#WTF?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment