From d2f6416e4578bb6cbc3792126f643949fa7f07b7 Mon Sep 17 00:00:00 2001 From: jdalton Date: Thu, 5 Feb 2015 09:47:47 -0800 Subject: [PATCH] Add `_.runInContext` usage example to `_.mixin` docs. [ci skip] --- lodash.src.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lodash.src.js b/lodash.src.js index 91b96c603..e8ec84015 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -10302,6 +10302,9 @@ * }); * } * + * // use `_.runInContext` to avoid potential conflicts (esp. in Node.js) + * var _ = require('lodash').runInContext(); + * * _.mixin({ 'vowels': vowels }); * _.vowels('fred'); * // => ['e']