From 08b956cf884a5696f24284c9377cb4fa93c1294e Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 2 Dec 2014 23:43:28 -0800 Subject: [PATCH] Adust code example in readme. [ci skip] [closes #811] --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fad0a3981..8a4eb0e80 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,14 @@ $ npm ln lodash In Node.js: ```js +// the default modern build var _ = require('lodash'); -// or as Underscore -var _ = require('lodash-underscore'); + +// or the compat build +var _ = require('lodash-compat'); + +// or a specific method +var clone = require('lodash/lang/clone'); ``` **Note:**