From 0d1d765a2134a3e90d3b5e7a5521ec263136c58a Mon Sep 17 00:00:00 2001 From: Ian Clarke Date: Tue, 28 Mar 2017 20:24:52 -0500 Subject: [PATCH] minor fixes --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 011fb4818d..07e2af60e4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -86,7 +86,7 @@ fun main(args: Array) { fun ElementCreator.newListItem(text: String) { li().apply { - addText(text) + text(text) on.click { delete() }