Have browser fp convert auto wrap lodash if found.

This commit is contained in:
John-David Dalton
2016-02-11 12:58:38 -08:00
parent 641112dd4d
commit 8c5b64c7d7
2 changed files with 13 additions and 6 deletions

View File

@@ -11,4 +11,7 @@ function browserConvert(lodash, options) {
return baseConvert(lodash, lodash, options);
}
if (typeof _ == 'function') {
_ = browserConvert(_.runInContext());
}
module.exports = browserConvert;