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
define(["a", "b", "domReady!"], function(a, b) {
// STUFF
});
I then use cram to compile a JS bundle.
When the bundle file is included, I get an error like:
Uncaught Error: duplicate define: curl/domReady curl.js:6
K curl.js:6
E curl.js:6
(anonymous function) 32f63851a26c486cad1611ea1b18648d.js:18095
(anonymous function) 32f63851a26c486cad1611ea1b18648d.js:18108
In this instance, I was able to remove the domReady! dependency from my module (I had placed it there on a mistaken assumption, it was not actually needed) but it does seem like this should be supported. I'm not sure if this is a curl issue or a cram issue though?
The text was updated successfully, but these errors were encountered:
Are you using a compiled ("dist") version of curl.js? There are a few reasons you shouldn't do this. I'm just guessing that perhaps this is causing the problem?
I define a module like:
I then use cram to compile a JS bundle.
When the bundle file is included, I get an error like:
In this instance, I was able to remove the domReady! dependency from my module (I had placed it there on a mistaken assumption, it was not actually needed) but it does seem like this should be supported. I'm not sure if this is a curl issue or a cram issue though?
The text was updated successfully, but these errors were encountered: