jpettersson/lingon — pull request #63 by jpettersson (2014-08-13 21:28:32+00:00)
Title: Tidy up layoutstream

Refactored the layoutStream to use promises instead of the callback pyramid mess. Also changed the order of rendering: Now the template is processed before the layout. This way data created in the template processing can be available to it's wrapping layout.