We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Original Handlebars supports AMD style output using --amd or -a options used like:
--amd
-a
handlebars -a -m -e hb ./js/photos > ./js/photos/templates.js
Since my entire application is based on Require.js, I need AMD compliant compiled templates.
All that is required is to wrap the current output with:
define(["Ember"],function(Ember){ // Current output goes here. });
I think it should be fairly simple to add this feature. Please let me know if it has already been added.
The text was updated successfully, but these errors were encountered:
This is now supported because of PR #35 - thanks @kadishmal!
Sorry, something went wrong.
No branches or pull requests
Original Handlebars supports AMD style output using
--amd
or-a
options used like:Since my entire application is based on Require.js, I need AMD compliant compiled templates.
All that is required is to wrap the current output with:
I think it should be fairly simple to add this feature. Please let me know if it has already been added.
The text was updated successfully, but these errors were encountered: