From 72d37450dd023fb230d136758b01c4952168f0a6 Mon Sep 17 00:00:00 2001 From: Per Date: Mon, 20 Jun 2016 21:38:38 +0200 Subject: [PATCH] Update README.md Small error: `choo.model` -> `app.model`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8d952d2..496d9d5 100644 --- a/README.md +++ b/README.md @@ -288,7 +288,7 @@ chat app, or when catching keyboard input for a videogame. An example subscription that logs `"dog?"` every second: ```js const app = choo() -choo.model({ +app.model({ subscriptions: [ (send) => setTimeout(() => send('app:print', { payload: 'dog?' }), 1000) ],