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

Amd module return values #488

Merged
merged 2 commits into from
Apr 8, 2013

Conversation

JamesMaroney
Copy link
Contributor

This is a rewrite of pull request #377

If building AMD module output and only one template/partial, return that compiled template as the module output. If building AMD module output and multiple templates/partials return the full hash of templates/partials.

return the compiled template from the AMD module
templates (or partials) hash from the AMD module
kpdecker added a commit that referenced this pull request Apr 8, 2013
@kpdecker kpdecker merged commit 4c35f89 into handlebars-lang:master Apr 8, 2013
@blessanm86
Copy link
Contributor

This seems to cause an issue when we specify a folder path as the input instead of filenames. I used the command like
handlebars templates/>templates.js -a -e html
And get an output file with return after every template in the folder.

@kpdecker
Copy link
Collaborator

@Blessenm Can you file a new bug for the issue you are seeing now?

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.

3 participants