You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to bypass the entire require.js machinery for specific scripts that are not written to expect require.js? What I want to do is just load some scripts via a (dynamically inserted) <script> tag.
We are trying to integrate some new components in a legacy project that uses require.js and there's issues. Temporarily setting window.define to undefined solves some of the issues, but it seems there's some other machinery that interferes with e.g. setting global attributes after a script loads.
The text was updated successfully, but these errors were encountered:
Is there a way to bypass the entire require.js machinery for specific scripts that are not written to expect require.js? What I want to do is just load some scripts via a (dynamically inserted)
<script>
tag.We are trying to integrate some new components in a legacy project that uses require.js and there's issues. Temporarily setting
window.define
toundefined
solves some of the issues, but it seems there's some other machinery that interferes with e.g. setting global attributes after a script loads.The text was updated successfully, but these errors were encountered: