mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Make Lo-Dash work with Browserify. [closes #223]
Former-commit-id: 33b53dd075d6c4ed9682881af463bdd3c241ca44
This commit is contained in:
2
build.js
2
build.js
@@ -510,7 +510,7 @@
|
||||
" var freeModule = typeof module == 'object' && module && module.exports == freeExports && module;",
|
||||
'',
|
||||
" var freeGlobal = typeof global == 'object' && global;",
|
||||
' if (freeGlobal.global === freeGlobal) {',
|
||||
' if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) {',
|
||||
' window = freeGlobal;',
|
||||
' }',
|
||||
'',
|
||||
|
||||
Reference in New Issue
Block a user