documentcloud/underscore — comment on commit 0d4b1247c45083c695cab4242c084a97aa600221
File:  line 0
By bardu:

I'm just new to require.js, Backbone.js, and underscore.js. To solve me issue with "Backbone is null" I did as recommended:

define(['jquery', 'underscore'], function($, _){
// paste Backbone.js source code here
return Backbone;
});

However, it seem I have to wrap underscore.js as well. So, I did it like this:

define( function(){
// paste underscore.js source code here
return _;
});

I'm just wondering whether this is a valid approach without causing any side effects?