-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using with Express 3.x #14
Comments
Thanks for the heads up. Will that also work in express 2.0? On 19 June 2012 10:32, Eóin Martin <
paul.serby@clock.co.uk Direct: +44 2030 516115__Mobile: +44 7881 550999 *
|
I don't believe so. As you can see at the Express Wiki , app.locals is a new feature. |
Might need to do a bit of feature detection, or ask |
@bengourley definitely. Feature detection, rather than version detection.
|
This should be fixed now |
Just a quick heads up that anyone wanting to use this on Express 3.x needs to change line 201 in compact.js as app.helpers are not used anymore. You simply have to change it to app.locals
I would create a pull request but it seems trivial for one simple word change
The text was updated successfully, but these errors were encountered: