mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Simplify CommonJS UMD.
This commit is contained in:
@@ -14362,12 +14362,10 @@
|
||||
else if (freeExports && freeModule) {
|
||||
// Export for Node.js.
|
||||
if (moduleExports) {
|
||||
(freeModule.exports = _)._ = _;
|
||||
}
|
||||
else {
|
||||
// Export for Rhino with CommonJS support.
|
||||
freeExports._ = _;
|
||||
(freeModule.exports = _)._ = _
|
||||
}
|
||||
// Export for CommonJS support.
|
||||
freeExports._ = _;
|
||||
}
|
||||
else {
|
||||
// Export for a browser or Rhino.
|
||||
|
||||
Reference in New Issue
Block a user