source: trip-planner-front/node_modules/lodash/fp/_convertBrowser.js@ 84d0fbb

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

initial commit

  • Property mode set to 100644
File size: 615 bytes
RevLine 
[6a3a178]1var baseConvert = require('./_baseConvert');
2
3/**
4 * Converts `lodash` to an immutable auto-curried iteratee-first data-last
5 * version with conversion `options` applied.
6 *
7 * @param {Function} lodash The lodash function to convert.
8 * @param {Object} [options] The options object. See `baseConvert` for more details.
9 * @returns {Function} Returns the converted `lodash`.
10 */
11function browserConvert(lodash, options) {
12 return baseConvert(lodash, lodash, options);
13}
14
15if (typeof _ == 'function' && typeof _.runInContext == 'function') {
16 _ = browserConvert(_.runInContext());
17}
18module.exports = browserConvert;
Note: See TracBrowser for help on using the repository browser.