I want to apologize for this stupid question; I’m new to RequireJS. This is my code:
require(['jquery', '/javascripts/underscore.js'],
function($, _) { console.log($().jquery, _); }
);
For some reason, console.log(_) prints null. What am I doing wrong?
'/javascripts/underscore.js'needs to be changed to `underscore’. Gosh, this is badly explained in the docs.