Last active
December 14, 2015 11:38
-
-
Save zfogg/5080310 to your computer and use it in GitHub Desktop.
Potential CoffeeScript Bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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