Re: [nodejs] Looping and creating divs

2012-08-16 Thread Tim Caswell
On Thu, Aug 16, 2012 at 4:07 PM, Bob Wohl wrote: > Ok, so there's the blurred line. Jade being so tightly integrated with > NodeJS, I assumed there would be the two intermingled in the same knowledge > base/pool. My bad. The part about rendering in Node or Jade is OT I suppose > as well. I'll go s

Re: [nodejs] Looping and creating divs

2012-08-16 Thread Bob Wohl
Ok, so there's the blurred line. Jade being so tightly integrated with NodeJS, I assumed there would be the two intermingled in the same knowledge base/pool. My bad. The part about rendering in Node *or* Jade is OT I suppose as well. I'll go suck on my vacuum cleaner at the electric company. Wow...

Re: [nodejs] Looping and creating divs

2012-08-16 Thread Tim Caswell
On Thu, Aug 16, 2012 at 3:22 PM, Bob Wohl wrote: > Hi Tim, > > Thats exactly what I am doing and thats exactly what I am posting about. > > Looking at Jade's loop documentation, all it shows is "each" yet I see > people mentioning using for loop iterations yet it is not in the jade > docs. So here

Re: [nodejs] Looping and creating divs

2012-08-16 Thread Bob Wohl
Hi Tim, Thats exactly what I am doing and thats exactly what I am posting about. Looking at Jade's loop documentation, all it shows is "each" yet I see people mentioning using for loop iterations yet it is not in the jade docs. So here I am, asking the question. :) B. On Thu, Aug 16, 2012 at 1:

Re: [nodejs] Looping and creating divs

2012-08-16 Thread Tim Caswell
It depends on what you're doing. If you're writing an http web server and want to serve generated html using jade in node, then use jade's loop constructs to generate the appropriate html. On Thu, Aug 16, 2012 at 12:13 PM, Bob Wohl wrote: > Hello all, > > I'm new to Jade and NodeJs but have been

[nodejs] Looping and creating divs

2012-08-16 Thread Bob Wohl
Hello all, I'm new to Jade and NodeJs but have been able to wiggle some interaction. So far it doesn't seem to tough but I still lack the know how on a lot of this stuff. :) I'm attempting to create a grid via values set by user input using jade. I have values of height and width (4x4 for example