Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Readme doc addition for Jade #4

Merged
merged 2 commits into from Sep 25, 2011

Conversation

Projects
None yet
2 participants
Member

niftylettuce commented Sep 25, 2011

No description provided.

@tj tj and 1 other commented on an outdated diff Sep 25, 2011

<%- messages() %>
+### [Jade](http://jade-lang.com/)
+
+ - var m = messages()
+ != m
@tj

tj Sep 25, 2011

Owner

why not just != messages() ?

@niftylettuce

niftylettuce Sep 25, 2011

Member

messages() returns a function which returns a joined array, I think it needs a little minor rewrite.

https://github.com/visionmedia/express-messages/blob/master/index.js/#L9

@tj

tj Sep 25, 2011

Owner

that's because you cant execute it until you want to "flush" the messages. I'm just saying the example doesn't need var or anything, just != messages() is fine

Member

niftylettuce commented Sep 25, 2011

Odd, it wasn't working for me last night, now it is. I've modified the Readme appropriately, please pull.

Owner

tj commented Sep 25, 2011

cool! cheers

tj added a commit that referenced this pull request Sep 25, 2011

Merge pull request #4 from niftylettuce/master
Readme doc addition for Jade

@tj tj merged commit 3adbdeb into expressjs:master Sep 25, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment