summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/lodash/chain/wrapperCommit.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/lodash/chain/wrapperCommit.js')
-rw-r--r--deps/npm/node_modules/lodash/chain/wrapperCommit.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/deps/npm/node_modules/lodash/chain/wrapperCommit.js b/deps/npm/node_modules/lodash/chain/wrapperCommit.js
deleted file mode 100644
index c3d289804b..0000000000
--- a/deps/npm/node_modules/lodash/chain/wrapperCommit.js
+++ /dev/null
@@ -1,32 +0,0 @@
-var LodashWrapper = require('../internal/LodashWrapper');
-
-/**
- * Executes the chained sequence and returns the wrapped result.
- *
- * @name commit
- * @memberOf _
- * @category Chain
- * @returns {Object} Returns the new `lodash` wrapper instance.
- * @example
- *
- * var array = [1, 2];
- * var wrapped = _(array).push(3);
- *
- * console.log(array);
- * // => [1, 2]
- *
- * wrapped = wrapped.commit();
- * console.log(array);
- * // => [1, 2, 3]
- *
- * wrapped.last();
- * // => 3
- *
- * console.log(array);
- * // => [1, 2, 3]
- */
-function wrapperCommit() {
- return new LodashWrapper(this.value(), this.__chain__);
-}
-
-module.exports = wrapperCommit;