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

Alter prefix.js to check that window is a window and that require exists #56

Closed
wants to merge 1 commit into from

Conversation

chrisnewtn
Copy link

Hi, this is related to #40 and #41 and makes to library compatible with the requirejs optimizer. It preserves compatibility with commonjs and allows for its continued use with AMD loaders via a shim.

Thoughts and feedback welcome. Thanks.

@mahnunchik
Copy link
Contributor

Hi @chrisnewtn, could you please check this solution in last commit: 4ceee9d

@chrisnewtn
Copy link
Author

Thanks for the fix @mahnunchik, that commit works great with the optimizer 👍

@chrisnewtn chrisnewtn closed this Mar 1, 2014
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