-
Notifications
You must be signed in to change notification settings - Fork 122
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
Async compile api #412
Conversation
src/cli/domain/package-template.js
Outdated
var compiledView = templateEngines[type].compile(template, { viewPath }), | ||
hashView = hashBuilder.fromString(compiledView.toString()), | ||
javaScriptizedView = javaScriptizeTemplate(hashView, compiledView); | ||
var compiledView = templateEngines[type].compile({ template, viewPath }, compiledView => { |
There was a problem hiding this comment.
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?
e646dc9
to
c2900da
Compare
c2900da
to
a4c0b87
Compare
There was a problem hiding this 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?
@matteofigus should be done, let me know if anything :) |
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