Add _.runInContext usage example to _.mixin docs. [ci skip]

This commit is contained in:
jdalton
2015-02-05 09:47:47 -08:00
parent 97a885a05c
commit d2f6416e45

View File

@@ -10302,6 +10302,9 @@
* });
* }
*
* // use `_.runInContext` to avoid potential conflicts (esp. in Node.js)
* var _ = require('lodash').runInContext();
*
* _.mixin({ 'vowels': vowels });
* _.vowels('fred');
* // => ['e']