mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2025-01-07 09:27:27 -08:00
74eb5fa045
- `example/proxy` is new folder for `example_proxy`. - `riven` is new folder for the main riven lib. - Updated metadata to be an array and include HTTP method.
18 lines
615 B
JavaScript
18 lines
615 B
JavaScript
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' && typeof _.runInContext == 'function') {
|
|
_ = browserConvert(_.runInContext());
|
|
}
|
|
module.exports = browserConvert;
|