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

Add missing semicolon to UMD wrapper #17

Merged
merged 1 commit into from
Nov 25, 2016

Conversation

Turbo87
Copy link
Contributor

@Turbo87 Turbo87 commented Nov 25, 2016

otherwise this can't be combined with other UMD wrappers...

@nathanboktae
Copy link
Owner

if you are just file concating javascript together it's the wrong way to do that - you need to properly do it through a minifier and concatter like uglify2

@Turbo87
Copy link
Contributor Author

Turbo87 commented Nov 25, 2016

well, I'm processing it in EmberCLI via Babel and Broccoli, so it's not just concatenating...

as you can see in https://github.com/chaijs/chai-jquery/blob/master/chai-jquery.js#L240 chai-jquery has the semicolon too, and using that worked on first try.

@nathanboktae
Copy link
Owner

babel is a ES6 -> ES5 compiler and Broccoli is a build system. Something else is doing your concatenation in it and has bugs.

@nathanboktae nathanboktae merged commit 1fb357c into nathanboktae:master Nov 25, 2016
@Turbo87
Copy link
Contributor Author

Turbo87 commented Nov 25, 2016

/cc @stefanpenner

@Turbo87
Copy link
Contributor Author

Turbo87 commented Nov 26, 2016

@nathanboktae thanks for merging! do you have time to release this as v1.4.3?

@Turbo87 Turbo87 deleted the patch-1 branch November 26, 2016 14:56
@nathanboktae
Copy link
Owner

Yup, 1.4.3 is released.

@Turbo87
Copy link
Contributor Author

Turbo87 commented Nov 26, 2016

Muchas gracias!

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