Open quangv opened 12 years ago
Express includes these default options, that currently passes to Hogan compile context.
{ layout : false, attempts : [/home/quang/ssh/repos/hulk-hogan/express_engine.hulk ], scope : {Object}, parentView : undefined, root : /home/quang/ssh/repos/hulk-hogan, defaultEngine : undefined, settings : {Object}, app : {Object}, partial : <Function>, hint : true, filename : /home/quang/ssh/repos/hulk-hogan/express_engine.hulk, }
Might removed these when passed to Context... or not.
root & defaultEngine is used in hulk-hogan to include partials.
root
defaultEngine
{{> header}} # [root]/header.[defaultEngine]
Express includes these default options, that currently passes to Hogan compile context.
Might removed these when passed to Context... or not.