From 2abeb9ad2e81983d0c754bff7713835fe86665bd Mon Sep 17 00:00:00 2001 From: Bob Nystrom Date: Fri, 2 Jan 2015 20:07:43 -0800 Subject: [PATCH] Make first example correct (!). Fix #47. --- README.md | 6 ++---- doc/site/index.markdown | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index df93360a..9cc916da 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,8 @@ in a Lua-sized package. IO.print("Hello, world!") class Wren { - adjectives = ["small", "clean", "fast"] - languageType { - "scripting" - } + adjectives { ["small", "clean", "fast"] } + languageType { "scripting" } } ``` diff --git a/doc/site/index.markdown b/doc/site/index.markdown index b98c921c..a007e3c1 100644 --- a/doc/site/index.markdown +++ b/doc/site/index.markdown @@ -7,10 +7,8 @@ in a Lua-sized package. IO.print("Hello, world!") class Wren { - adjectives = ["small", "clean", "fast"] - languageType { - "scripting" - } + adjectives { ["small", "clean", "fast"] } + languageType { "scripting" } } * **Wren is small.** The codebase is under 4,000 semicolons which keeps the