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