-
-
Save sgrove/879732ed7b007a252778ad9fd1826e07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: This expression should not be a function, the expected type is | |
Js.js_string Js.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Elem (DOM.make ~tag:`input ~elem_spec: | |
([("type", Js.string "checkbox"); | |
("onClick", (fun _ -> swap initial_state (fun state -> set_tab !state All))); | |
("checked", Js.string (if task.completed then "checked" else "")); | |
("className", Js.string "toggle")] | |
>>> object%js end) | |
[]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment