source: trip-planner-front/node_modules/lodash/_lazyClone.js@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 657 bytes
Line 
1var LazyWrapper = require('./_LazyWrapper'),
2 copyArray = require('./_copyArray');
3
4/**
5 * Creates a clone of the lazy wrapper object.
6 *
7 * @private
8 * @name clone
9 * @memberOf LazyWrapper
10 * @returns {Object} Returns the cloned `LazyWrapper` object.
11 */
12function lazyClone() {
13 var result = new LazyWrapper(this.__wrapped__);
14 result.__actions__ = copyArray(this.__actions__);
15 result.__dir__ = this.__dir__;
16 result.__filtered__ = this.__filtered__;
17 result.__iteratees__ = copyArray(this.__iteratees__);
18 result.__takeCount__ = this.__takeCount__;
19 result.__views__ = copyArray(this.__views__);
20 return result;
21}
22
23module.exports = lazyClone;
Note: See TracBrowser for help on using the repository browser.