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([
'secondary' // <-- cram does not like this
], function() {});
secondary.js
define('secondary', function() {});
Replace the dependency parameter with a single-line ['secondary'], ..., and cram behaves as expected. Of course, curl.js properly handles both situations.
The text was updated successfully, but these errors were encountered:
I'm observing cram erroring out on multiline dependency arrays like:
Cram produces an error such as:
The whitespace in the error message makes it look like it's looking for linebreaks in the filename..?
Consider the following (contrived) example, for a more complete look:
index.html
main.js
secondary.js
Replace the dependency parameter with a single-line
['secondary'], ...
, and cram behaves as expected. Of course, curl.js properly handles both situations.The text was updated successfully, but these errors were encountered: