|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
615 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | var 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 | */
|
|---|
| 11 | function browserConvert(lodash, options) {
|
|---|
| 12 | return baseConvert(lodash, lodash, options);
|
|---|
| 13 | }
|
|---|
| 14 |
|
|---|
| 15 | if (typeof _ == 'function' && typeof _.runInContext == 'function') {
|
|---|
| 16 | _ = browserConvert(_.runInContext());
|
|---|
| 17 | }
|
|---|
| 18 | module.exports = browserConvert;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.