documentcloud/backbone — Issue #753: When use requirejs
Author: faceach
Created: 2011-11-20 15:23:35+00:00
State: open

line: 32,
if (!_ && (typeof require !== 'undefined')) _ = require('underscore')._;

Should we use "[ ]" as the requirejs argument?

if (!_ && (typeof require !== 'undefined')) {
require(['underscore'], function (underscore) {
_ = underscore;
});
};