mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
cleaning up AMD comment.
This commit is contained in:
@@ -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 _;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user