-
Notifications
You must be signed in to change notification settings - Fork 129
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
Conflict with require js #41
Comments
this has worked for years and quite possibly a bug with your implementation or the optimizer you're using. unless you can put together a test case i will mark this as won't fix. |
I have the same problem when working with requireJs |
@cloudgen its very likely because you load the module without using requirejs...(eg. include it directly to the page) what is the purpose having require js in your env without using it |
I included a javascript provided by an advertisement provider which include this module directly without using requirejs (The Advertisement provider assume people using their script without any requirejs). So, the advertisement script crashed everytime I included in my page. This is the circumstance that I cannot modify the code which was hosted somewhere else. The only solution was I had abandoned the advertisement provider. |
looks like this can be closed? |
Yes 2016-04-28 21:20 GMT+08:00 Jason Karns [email protected]:
|
Line 7: else if (typeof define == 'function' && typeof define.amd == 'object') define(definition)
create an no name function which then crash the execution of javascript under the environment of requirejs.
The text was updated successfully, but these errors were encountered: