From af623a5be4ad3f400b53f7b4afc429af730961b3 Mon Sep 17 00:00:00 2001 From: Derek Maffett Date: Thu, 13 Aug 2015 00:38:31 -0700 Subject: [PATCH 1/2] remove unnecessary function from docs example --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index fc9c494..755cbd0 100644 --- a/README.md +++ b/README.md @@ -287,8 +287,6 @@ expect(result).toEqual({ a: 1, b: 2, c: 3 }); ``` ```js -function increment(x) { return x + 1; } - var result = u.map({ a: 100 }, [{ a: 0 }, { a: 1 }]); expect(result).toEqual([{ a: 100 }, { a: 100 }]); From 62f12884fb4decf8866040319f0722dc04943629 Mon Sep 17 00:00:00 2001 From: Aaron Jensen Date: Thu, 13 Aug 2015 06:52:07 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 755cbd0..118b492 100644 --- a/README.md +++ b/README.md @@ -281,6 +281,8 @@ expect(result).toEqual([1, 2, 3]); ``` ```js +function increment(x) { return x + 1; } + var result = u.map(increment, { a: 0, b: 1, c: 2 }); expect(result).toEqual({ a: 1, b: 2, c: 3 });