2

I'm programming in node.js using the express framework. The default template engine in express is Jade. In the Jade specification there is a concept mentioned called output buffering. What exactly is happening when I use this?

CatDadCode
  • 58,507
  • 61
  • 212
  • 318
  • 1
    You might want to post an issue at on jade about clarifying their documentation with better explanation of that they mean there. – Dan D. May 27 '12 at 04:11

1 Answers1

2

This is referring to the fact that executing JavaScript code with an = in Jade adds the result of that JavaScript to the buffer--that is, the text that is returned after the Jade template is parsed. - also executes JavaScript code, but does not add its output to the buffer.

Michelle Tilley
  • 157,729
  • 40
  • 374
  • 311