From 99c1d9af689e5325f3cf535c4007b3aeb8325229 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 10 Jan 2023 14:54:04 +0100 Subject: Update - This is an automated commit --- alarm/node_modules/lodash/wrapperReverse.js | 44 ----------------------------- 1 file changed, 44 deletions(-) delete mode 100644 alarm/node_modules/lodash/wrapperReverse.js (limited to 'alarm/node_modules/lodash/wrapperReverse.js') diff --git a/alarm/node_modules/lodash/wrapperReverse.js b/alarm/node_modules/lodash/wrapperReverse.js deleted file mode 100644 index e93112a..0000000 --- a/alarm/node_modules/lodash/wrapperReverse.js +++ /dev/null @@ -1,44 +0,0 @@ -var LazyWrapper = require('./_LazyWrapper'), - LodashWrapper = require('./_LodashWrapper'), - reverse = require('./reverse'), - thru = require('./thru'); - -/** - * This method is the wrapper version of `_.reverse`. - * - * **Note:** This method mutates the wrapped array. - * - * @name reverse - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2, 3]; - * - * _(array).reverse().value() - * // => [3, 2, 1] - * - * console.log(array); - * // => [3, 2, 1] - */ -function wrapperReverse() { - var value = this.__wrapped__; - if (value instanceof LazyWrapper) { - var wrapped = value; - if (this.__actions__.length) { - wrapped = new LazyWrapper(this); - } - wrapped = wrapped.reverse(); - wrapped.__actions__.push({ - 'func': thru, - 'args': [reverse], - 'thisArg': undefined - }); - return new LodashWrapper(wrapped, this.__chain__); - } - return this.thru(reverse); -} - -module.exports = wrapperReverse; -- cgit