Skip to content

Added new option to remove IIFE encapsulation. #14

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

Merged
merged 2 commits into from
Jan 27, 2017

Conversation

josejamart
Copy link
Contributor

Hello.

I found your library very useful, but when there are a lot of templetes and I want to concatenate all of them in a single file I fount that the IIFE encapsulation is repeated in each generation and I find it useless. I have added a new configuration parameter to avoid generating this lines.

I have commit the change and some code testing it, and I have applied it in a big project and it works correctly.

¿can you review it and merge it? Tell me if something is wrong and I will modify it.

Regards.

A new option has been added to allow ommiting the IIFE encapsulatio to
avoid repeating this part when some templates have to be comcatenated in
one file.
Added new option to ommit IIFE encapsulation.
@ingro
Copy link
Owner

ingro commented Jan 27, 2017

Hello and thanks for your PR! This seems very reasonable, I'll look at it asap!

@ingro ingro merged commit 6a339fd into ingro:master Jan 27, 2017
@ingro
Copy link
Owner

ingro commented Jan 27, 2017

Released in 1.3.0 with some update to the readme! Thanks again :)

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