i was wondering how to execute js before rendering?
This fails
-#{somejs} // Outputs just the js-code
p #{somejs()} // Executes the js-code, but doenst render the html
// In EJS I just write. But how can i do this with node?
<%- somejs() %>
// I try to use express-messasges (https://github.com/visionmedia/express-messages) with Jade instead of ejs