mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 12:20:04 +02:00
update modules
This commit is contained in:
23
node_modules/lodash/core.js
generated
vendored
23
node_modules/lodash/core.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @license
|
||||
* Lodash (Custom Build) <https://lodash.com/>
|
||||
* Build: `lodash core -o ./dist/lodash.core.js`
|
||||
* Build: `lodash core exports="node" -o ./npm-package/core.js`
|
||||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||||
* Released under MIT license <https://lodash.com/license>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
@@ -3826,29 +3826,10 @@
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
// Some AMD build optimizers, like r.js, check for condition patterns like:
|
||||
if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {
|
||||
// Expose Lodash on the global object to prevent errors when 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.
|
||||
root._ = lodash;
|
||||
|
||||
// Define as an anonymous module so, through path mapping, it can be
|
||||
// referenced as the "underscore" module.
|
||||
define(function() {
|
||||
return lodash;
|
||||
});
|
||||
}
|
||||
// Check for `exports` after `define` in case a build optimizer adds it.
|
||||
else if (freeModule) {
|
||||
if (freeModule) {
|
||||
// Export for Node.js.
|
||||
(freeModule.exports = lodash)._ = lodash;
|
||||
// Export for CommonJS support.
|
||||
freeExports._ = lodash;
|
||||
}
|
||||
else {
|
||||
// Export to the global object.
|
||||
root._ = lodash;
|
||||
}
|
||||
}.call(this));
|
||||
|
Reference in New Issue
Block a user