dotfiles/.vscode/extensions/vscodevim.vim-0.2.0/node_modules/lodash/fp/_convertBrowser.js

19 lines
576 B
JavaScript
Raw Normal View History

2016-09-11 09:29:13 +01:00
var baseConvert = require('./_baseConvert');
/**
* Converts `lodash` to an immutable auto-curried iteratee-first data-last
* version with conversion `options` applied.
*
* @param {Function} lodash The lodash function to convert.
* @param {Object} [options] The options object. See `baseConvert` for more details.
* @returns {Function} Returns the converted `lodash`.
*/
function browserConvert(lodash, options) {
return baseConvert(lodash, lodash, options);
}
if (typeof _ == 'function') {
_ = browserConvert(_.runInContext());
}
module.exports = browserConvert;