From 6511166806dd16b5db5e5a0eec60676940f46a06 Mon Sep 17 00:00:00 2001 From: Aaron Jensen Date: Sun, 9 Aug 2015 22:03:48 -0700 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e61131c..4197a5a 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ var person = { } }; -var result = u({ name: { first: 'Susan' } }, person}); +var result = u({ name: { first: 'Susan' } }, person); expect(result).toEqual({ name: { first: 'Susan', last: 'West' } }); ``` @@ -145,8 +145,8 @@ expect(result).toEqual({ scores: { team1: 0, team2: 1 } }); ```js function increment(i) { return i + 1; } -var addOne = u({ age: increment }); -var result = addOne({ name: 'Shannon Barnes', age: 62 }); +var addOneYear = u({ age: increment }); +var result = addOneYear({ name: 'Shannon Barnes', age: 62 }); expect(result).toEqual({ name: 'Shannon Barnes', age: 63 }); ``` @@ -407,4 +407,4 @@ MIT ©2015 [Substantial](http://substantial.com) [icepick]: https://github.com/aearly/icepick [React.addons.update]: https://facebook.github.io/react/docs/update.html [tests]: https://github.com/substantial/updeep/blob/master/test/index.js -[currying]: http://www.datchley.name/currying-vs-partial-application/ \ No newline at end of file +[currying]: http://www.datchley.name/currying-vs-partial-application/