mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 03:47:50 +00:00
cleaning up AMD comment.
This commit is contained in:
@@ -57,10 +57,7 @@
|
|||||||
}
|
}
|
||||||
exports._ = _;
|
exports._ = _;
|
||||||
} else if (typeof define === 'function' && define.amd) {
|
} else if (typeof define === 'function' && define.amd) {
|
||||||
// Register as a module with AMD. Use a named module since underscore
|
// Register as a named module with AMD.
|
||||||
// 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.
|
|
||||||
define('underscore', function() {
|
define('underscore', function() {
|
||||||
return _;
|
return _;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user