mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Remove unneeded _.runInContext comment block. [ci skip]
This commit is contained in:
@@ -1276,10 +1276,6 @@
|
|||||||
* var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
|
* var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
|
||||||
*/
|
*/
|
||||||
function runInContext(context) {
|
function runInContext(context) {
|
||||||
// Avoid issues with some ES3 environments that attempt to use values, named
|
|
||||||
// after built-in constructors like `Object`, for the creation of literals.
|
|
||||||
// ES5 clears this up by stating that literals must use built-in constructors.
|
|
||||||
// See https://es5.github.io/#x11.1.5 for more details.
|
|
||||||
context = context ? _.defaults({}, context, _.pick(root, contextProps)) : root;
|
context = context ? _.defaults({}, context, _.pick(root, contextProps)) : root;
|
||||||
|
|
||||||
/** Native constructor references. */
|
/** Native constructor references. */
|
||||||
|
|||||||
Reference in New Issue
Block a user