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

Added placement option to allow for AMD support #40

Merged
merged 1 commit into from
Oct 16, 2012
Merged

Added placement option to allow for AMD support #40

merged 1 commit into from
Oct 16, 2012

Conversation

mehcode
Copy link
Collaborator

@mehcode mehcode commented Oct 14, 2012

Added placement option to rendering that when set to 'amd' places compiled function in a define() block to allow for AMD loading.

If there is anything else I need to do to get this merged (tests, more docs, forgot somewhere that render is called), let me know.

template function in a define block instead of placing it inside
`window.HAML`.
@netzpirat
Copy link
Owner

This looks very nice. There are currently no unit tests for Haml Coffee (shame on me), only template integration tests, so there's nothing missing. Thanks a lot. I'm currently short on time at the end of my holiday, but I'll take some time on Tuesday to give it a try, merge and release.

@netzpirat netzpirat merged commit 280e9e9 into netzpirat:master Oct 16, 2012
@netzpirat
Copy link
Owner

Version 1.6.0 has been released with your AMD support. Thanks a lot!

@mehcode
Copy link
Collaborator Author

mehcode commented Oct 16, 2012

Not a problem; glad I could be of help. Thank you (and all the contributors of course) for this coffee-powered haml implementation.

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