From f2eee8896cb70ff876a3aad8f7bcd0412cbf3d2a Mon Sep 17 00:00:00 2001 From: Juliano Castilho Date: Tue, 24 Feb 2015 20:15:26 -0400 Subject: [PATCH] Fix code example typo in `_.dropRightWhile`. [ci skip] --- doc/README.md | 2 +- lodash.src.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/README.md b/doc/README.md index ff8e9bf46..2c1ad3b95 100644 --- a/doc/README.md +++ b/doc/README.md @@ -500,7 +500,7 @@ var users = [ ]; // using the `_.matches` callback shorthand -_.pluck(_.dropRightWhile(users, { 'user': pebbles, 'active': false }), 'user'); +_.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user'); // => ['barney', 'fred'] // using the `_.matchesProperty` callback shorthand diff --git a/lodash.src.js b/lodash.src.js index d65e6061a..014b2fcf8 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -4385,7 +4385,7 @@ * ]; * * // using the `_.matches` callback shorthand - * _.pluck(_.dropRightWhile(users, { 'user': pebbles, 'active': false }), 'user'); + * _.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user'); * // => ['barney', 'fred'] * * // using the `_.matchesProperty` callback shorthand