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
{{ message }}
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.
Whenever I include a file that depends on underscore.js, it gets an undefined value. When I run this command:
jam compile --no-minify --almond -o _test.js -i underscore
The outputted file includes almond, underscore, and then this snippet at the end:
define('underscore', ['underscore/underscore'], function (main) { return main; });
define("underscore/underscore", function(){});
I think the first define statement there is incorrect. My jam/require.config.js includes this snippet, which I believe should instruct jam to make a define statement that returns _ rather than main:
Whenever I include a file that depends on underscore.js, it gets an
undefined
value. When I run this command:The outputted file includes almond, underscore, and then this snippet at the end:
I think the first define statement there is incorrect. My
jam/require.config.js
includes this snippet, which I believe should instruct jam to make a define statement that returns_
rather thanmain
:I had a similar issue with jQuery before upgrading jam from 0.2.13 to 0.2.15.
Any idea how this could happen? I'm pretty sure that it all worked on jam 0.2.13 a month or so ago and I'm not sure what's changed since them.
The text was updated successfully, but these errors were encountered: