From 23563c7188e089929b60f9e10721c6fc43a220ff Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 22 Jun 2023 23:06:12 +0200 Subject: Updated 15 files, added includes/maintenance/deleteUnusedAssets.php and deleted 4944 files (automated) --- .../external/school/node_modules/lodash/plant.js | 48 ---------------------- 1 file changed, 48 deletions(-) delete mode 100644 includes/external/school/node_modules/lodash/plant.js (limited to 'includes/external/school/node_modules/lodash/plant.js') diff --git a/includes/external/school/node_modules/lodash/plant.js b/includes/external/school/node_modules/lodash/plant.js deleted file mode 100644 index 23776f3..0000000 --- a/includes/external/school/node_modules/lodash/plant.js +++ /dev/null @@ -1,48 +0,0 @@ -var baseLodash = require('./_baseLodash'), - wrapperClone = require('./_wrapperClone'); - -/** - * Creates a clone of the chain sequence planting `value` as the wrapped value. - * - * @name plant - * @memberOf _ - * @since 3.2.0 - * @category Seq - * @param {*} value The value to plant. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var wrapped = _([1, 2]).map(square); - * var other = wrapped.plant([3, 4]); - * - * other.value(); - * // => [9, 16] - * - * wrapped.value(); - * // => [1, 4] - */ -function wrapperPlant(value) { - var result, - parent = this; - - while (parent instanceof baseLodash) { - var clone = wrapperClone(parent); - clone.__index__ = 0; - clone.__values__ = undefined; - if (result) { - previous.__wrapped__ = clone; - } else { - result = clone; - } - var previous = clone; - parent = parent.__wrapped__; - } - previous.__wrapped__ = value; - return result; -} - -module.exports = wrapperPlant; -- cgit