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

Request to support "use strict"; #34

Open
ScottHamper opened this issue Nov 13, 2016 · 1 comment
Open

Request to support "use strict"; #34

ScottHamper opened this issue Nov 13, 2016 · 1 comment

Comments

@ScottHamper
Copy link

Hey Forbes,

Currently, umd places var define,module,exports; at the top of the generated factory function, making it impossible to 'use strict'; for wrapped code.

Would you be open to adding support for this in one way or another? One simple solution could be to add a useStrict property to the options object. I'd be happy to work on a pull request for this, if it's a feature you'd like to add.

@derhuerst
Copy link

bump. (:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants