From c25b0688686d5def00d4c4f1a3d34cd855375c33 Mon Sep 17 00:00:00 2001 From: Leo Date: Mon, 23 Jan 2017 18:11:28 -0500 Subject: [PATCH] fix docs for withattr --- docs/withAttr.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/withAttr.md b/docs/withAttr.md index 4a9fd44b..9d8ccd1f 100644 --- a/docs/withAttr.md +++ b/docs/withAttr.md @@ -41,7 +41,7 @@ Argument | Type | Required | Description `attrName` | `String` | Yes | The name of the attribute or property whose value will be used `callback` | `any -> Boolean?` | Yes | The callback `thisArg` | `any` | No | An object to bind to the `this` keyword in the callback function -**returns** | `Event -> Boolean?` | | An event handler function +**returns** | `Event -> undefined` | | An event handler function [How to read signatures](signatures.md) @@ -134,4 +134,3 @@ var state = { } m("input[type=checkbox]", {onclick: m.withAttr("checked", state.setSelected)}) ``` -