cleaning up AMD comment.

This commit is contained in:
Jeremy Ashkenas
2011-10-19 16:01:13 -04:00
parent 196c8066f7
commit f1ba205731

View File

@@ -57,10 +57,7 @@
}
exports._ = _;
} else if (typeof define === 'function' && define.amd) {
// Register as a module with AMD. Use a named module since underscore
// can be used in optimization schemes that do not understand anonymous
// modules, and the if it is used on a page with an AMD loader, a load
// error could occur.
// Register as a named module with AMD.
define('underscore', function() {
return _;
});