mozilla / connect-cachify

Express connect middleware to provide easy frontend caching for Node.js
Mozilla Public License 2.0
132 stars 21 forks source link

util.format not available on node v0.4.11 on Heroku. #3

Closed stomlinson closed 12 years ago

stomlinson commented 12 years ago

@ozten - nice work here!

Unfortunately, Heroku uses node v0.4.11, which does not have util.format.

ozten commented 12 years ago

Ah, great find.

Do libraries with wide compatibility typically do string concatenation with +?

shane-tomlinson commented 12 years ago

@ozten, unfortunately I'm not sure what the accepted "Node" way of doing things is, doing string concatenation with + has been common on the front end for years though.

ozten commented 12 years ago

Coolio, I think this is fixed with https://github.com/mozilla/connect-cachify/commit/6b946af829583c3e6acbd6e444842e38c4a25af8

Published 0.0.3.