Wrap runInContext in parentheses as a hint to avoid deferred parsing.

This commit is contained in:
John-David Dalton
2016-09-19 17:05:27 -07:00
parent b3742c8d3c
commit 5c912bcc62

View File

@@ -1407,7 +1407,7 @@
* // Create a suped-up `defer` in Node.js.
* var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
*/
function runInContext(context) {
var runInContext = (function runInContext(context) {
context = context ? _.defaults(root.Object(), context, _.pick(root, contextProps)) : root;
/** Built-in constructor references. */
@@ -16860,7 +16860,7 @@
lodash.prototype[iteratorSymbol] = wrapperToIterator;
}
return lodash;
}
});
/*--------------------------------------------------------------------------*/