From 2ed77f22e2ea3ff18a24a0fa85e87b2792a3ee52 Mon Sep 17 00:00:00 2001 From: "K.K. POON" Date: Wed, 30 Mar 2016 23:49:54 +0800 Subject: [PATCH] add link to JavaScript API doc in Mozilla --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 77f2151..05a858c 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ UserList(data.users, likesPerUser, updateUserLikes); Unfortunately, since there are so many list of lists all over the place in UIs, it becomes quite a lot of boilerplate to manage that explicitly. -We can move some of this boilerplate out of our critical business logic by deferring execution of a function. For example, by using "currying" (`bind` in JavaScript). Then we pass the state through from outside our core functions that are now free of boilerplate. +We can move some of this boilerplate out of our critical business logic by deferring execution of a function. For example, by using "currying" ([`bind`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind) in JavaScript). Then we pass the state through from outside our core functions that are now free of boilerplate. This isn't reducing boilerplate but is at least moving it out of the critical business logic.