Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming Support #3

Open
nlindley opened this issue Jun 6, 2015 · 3 comments
Open

Streaming Support #3

nlindley opened this issue Jun 6, 2015 · 3 comments

Comments

@nlindley
Copy link

nlindley commented Jun 6, 2015

I have created a fork that uses streaming (https://github.com/nlindley/hapi-dust), and I thought I’d see if there’s an interest in merging this in. I wouldn’t call it ready for production since I haven’t touched the tests or really studied Hapi’s view engine documentation, but it’s a start.

@nlindley
Copy link
Author

nlindley commented Jun 6, 2015

There is also a demo project at https://github.com/nlindley/hapi-dust-test. If you are trying to use curl, you’ll need to add something like

dust.optimizers.format = function(ctx, node) { return node };

because curl likes to wait until line breaks to print output, and Dust likes to minify the HTML.

@mikefrey
Copy link
Owner

@nlindley I'm definitely interested! But I would like to see the tests updated.

@nlindley
Copy link
Author

Cool. I probably won't have time to get to it for a few days, but I can get them updated once things slow down a little.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants