Closed mbouclas closed 10 years ago
Thanks for submitting this issue. I'll be looking into Express compatibility issues shortly. My first task is to setup a proper test case.
I've added a test case to the deep-inheritance feature branch and it's working flawlessly for me. Can you take a look?
Version 1.0.0 released.
super simple scenario, works without express (by doing a manual compile and template()) but when using res.render i get the following error :
Layout :
partial :
Like i mentioned earlier, when doing
i get the above error. If i do a
works like a charm, i get the correct output. One weird thing i noticed is that on the Express scenario, doing a console.log in the getBlocks function of the var blocks i get the following output
catching the undefined solved the error but the partial is not added to the layout. I am using the 0.3.3 version and 4.8.8 of express
Any help would be most welcomed at this point.