Cowboy-coder / bundle-up

An asset manager for nodejs
MIT License
56 stars 22 forks source link

Plans for supporting express 3 #15

Closed adiospace closed 12 years ago

adiospace commented 12 years ago

Hi I'm using BundleUp with express 3 alpha and is working fine if instead of @app.helpers, the new @app.locals is used. Do you have any plans of supporting express 3? Maybe a new tag?

Cowboy-coder commented 12 years ago

It's annoying to support two separate versions just because of an api change in Express 3.X. Preferably I want to support both versions(2.x and 3.x) of Express using the same code base. I'll look into it!

Cowboy-coder commented 12 years ago

This should work both in 2.X and 3.X https://github.com/Cowboy-coder/bundle-up/commit/a18e13dfbdd8b4c43017f8b322c70e5e42047680