From 0c77f420800d7d182345bd70f933c7bd55ee67e2 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 15 Jun 2012 09:12:03 -0400 Subject: [PATCH] Fix documentation typo, s/uiq/uniq. [closes #32] [cheeaun] Former-commit-id: 343ff0d9a7238ab7eec6d5cc75b5c7dff3de1925 --- doc/README.md | 2 +- lodash.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/README.md b/doc/README.md index ceab12c14..04a0921c6 100644 --- a/doc/README.md +++ b/doc/README.md @@ -2336,7 +2336,7 @@ Produces a duplicate-value-free version of the `array` using strict equality for _.uniq([1, 2, 1, 3, 1]); // => [1, 2, 3] -_.uiq([1, 1, 2, 2, 3], true); +_.uniq([1, 1, 2, 2, 3], true); // => [1, 2, 3] _.uniq([1, 2, 1.5, 3, 2.5], function(num) { return Math.floor(num); }); diff --git a/lodash.js b/lodash.js index b5fa4b2f2..565b7ff8d 100644 --- a/lodash.js +++ b/lodash.js @@ -1668,7 +1668,7 @@ * _.uniq([1, 2, 1, 3, 1]); * // => [1, 2, 3] * - * _.uiq([1, 1, 2, 2, 3], true); + * _.uniq([1, 1, 2, 2, 3], true); * // => [1, 2, 3] * * _.uniq([1, 2, 1.5, 3, 2.5], function(num) { return Math.floor(num); });