From 6fb67dc0e5821de269b8c26c0ef70eb78a42e77e Mon Sep 17 00:00:00 2001 From: Ian Clarke Date: Tue, 28 Mar 2017 20:25:37 -0500 Subject: [PATCH] minor fixes --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 07e2af60e4..6dac82855a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -60,8 +60,8 @@ Here we element a simple "todo" list app: fun main(args: Array) { Kweb(8091, debug = true) { doc.body.new { - h1().addText("Simple Kweb demo - a to-do list") - p().addText("Edit the text box below and click the button to add the item. Click an item to remove it.") + h1().text("Simple Kweb demo - a to-do list") + p().text("Edit the text box below and click the button to add the item. Click an item to remove it.") val ul = ul().new { for (text in listOf("one", "two", "three")) {