And stackoverflow to the rescue again!
I was trying to pass a variable (an array) to the Jade templating engine in order to manipulate it on the cient side javascript, but it was a pain in the butt, the accepted answer worked here:
http://stackoverflow.com/questions/7681821/passing-objects-to-client-in-node-express-jade
Thanks internet!
cool.
ReplyDelete