mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Update export doc note. [ci skip]
This commit is contained in:
@@ -15997,9 +15997,11 @@
|
|||||||
// Export lodash.
|
// Export lodash.
|
||||||
var _ = runInContext();
|
var _ = runInContext();
|
||||||
|
|
||||||
// Expose lodash on the free variable `window` or `self` when available. This
|
// Expose Lodash on the free variable `window` or `self` when available so it's
|
||||||
// prevents errors in cases where lodash is loaded by a script tag in the presence
|
// globally accessible, even when bundled with Browserify, Webpack, etc. This
|
||||||
// of an AMD loader. See http://requirejs.org/docs/errors.html#mismatch for more details.
|
// also prevents errors in cases where Lodash is loaded by a script tag in the
|
||||||
|
// presence of an AMD loader. See http://requirejs.org/docs/errors.html#mismatch
|
||||||
|
// for more details. Use `_.noConflict` to remove Lodash from the global object.
|
||||||
(freeWindow || freeSelf || {})._ = _;
|
(freeWindow || freeSelf || {})._ = _;
|
||||||
|
|
||||||
// Some AMD build optimizers like r.js check for condition patterns like the following:
|
// Some AMD build optimizers like r.js check for condition patterns like the following:
|
||||||
|
|||||||
Reference in New Issue
Block a user