Express documentation adjustments
Closed this issue · 2 comments
ericelliott commented
express.createServer()
has been replaced withexpress()
- It might be more clear to show
app.use( locale(supported) )
in order to clearly demonstrate thatlocale(supported)
returns express middleware that can be used in the same way as any other middleware.
jed commented
thanks for this, @dilvie. if you can spare the time, would you mind teeing up a pull request?
ericelliott commented
It may interest you to know that I'm recommending locale
in my book, "Programming JavaScript Applications".