From 6f1bdc916ccec570b419e24c774a41af82862d76 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Wed, 29 Apr 2015 21:43:38 -0400 Subject: [PATCH] fixed typo --- docs/mithril.component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mithril.component.md b/docs/mithril.component.md index 552d1a98..98714fde 100644 --- a/docs/mithril.component.md +++ b/docs/mithril.component.md @@ -329,7 +329,7 @@ var MyComponent = { controller: function(args) { //we only want to make this call once return { - things: m.request({method: "GET", url: "/api/things/", {data: args}}) //slice the data in some way + things: m.request({method: "GET", url: "/api/things/", data: args}) //slice the data in some way } }, view: function(ctrl) {