From 4744f93a47ed717a31eda8b429915cd187902fed Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 14 Sep 2015 01:07:51 -0700 Subject: [PATCH] Remove unneeded `_.runInContext` comment block. [ci skip] --- lodash.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lodash.js b/lodash.js index b94f52eee..525054ac5 100644 --- a/lodash.js +++ b/lodash.js @@ -1276,10 +1276,6 @@ * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer; */ 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; /** Native constructor references. */