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

Async compile api #412

Merged
merged 5 commits into from
Mar 21, 2017
Merged

Async compile api #412

merged 5 commits into from
Mar 21, 2017

Conversation

nickbalestra
Copy link
Contributor

@nickbalestra nickbalestra commented Mar 21, 2017

dependent upon deployment of

This PR, allow for the new async signature of the template API so that it can accomodate bundling and other async stuff

var compiledView = templateEngines[type].compile(template, { viewPath }),
hashView = hashBuilder.fromString(compiledView.toString()),
javaScriptizedView = javaScriptizeTemplate(hashView, compiledView);
var compiledView = templateEngines[type].compile({ template, viewPath }, compiledView => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=> are still currently illegal according to jshint styleguide. While we upgrade to ES6, can you switch this statement to ES5?

@nickbalestra nickbalestra force-pushed the async-compile-api branch 5 times, most recently from e646dc9 to c2900da Compare March 21, 2017 16:25
Copy link
Member

@matteofigus matteofigus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you update client/package.json too?

@nickbalestra
Copy link
Contributor Author

@matteofigus should be done, let me know if anything :)

@matteofigus matteofigus merged commit fa7c295 into master Mar 21, 2017
@matteofigus matteofigus deleted the async-compile-api branch March 21, 2017 19:06
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

Successfully merging this pull request may close these issues.

2 participants