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; 19