fbd217485b7db3357f6313523fa5882d00d8c938
[motion.git] / public / bower_components / lodash / fp / _convertBrowser.js
1 var baseConvert = require('./_baseConvert');
2
3 /**
4  * Converts `lodash` to an immutable auto-curried iteratee-first data-last version.
5  *
6  * @param {Function} lodash The lodash function.
7  * @param {Object} [options] The options object. See `baseConvert` for more details.
8  * @returns {Function} Returns the converted `lodash`.
9  */
10 function browserConvert(lodash, options) {
11   return baseConvert(lodash, lodash, options);
12 }
13
14 if (typeof _ == 'function') {
15   _ = browserConvert(_.runInContext());
16 }
17 module.exports = browserConvert;