mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Remove outdated _.runInContext example. [ci skip]
This commit is contained in:
@@ -1404,13 +1404,6 @@
|
||||
* lodash.isFunction(lodash.bar);
|
||||
* // => true
|
||||
*
|
||||
* // Use `context` to stub `Date#getTime` use in `_.now`.
|
||||
* var stubbed = _.runInContext({
|
||||
* 'Date': function() {
|
||||
* return { 'getTime': stubGetTime };
|
||||
* }
|
||||
* });
|
||||
*
|
||||
* // Create a suped-up `defer` in Node.js.
|
||||
* var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user