diff --git a/archive/v0.1.15/getting-started.html b/archive/v0.1.15/getting-started.html index 4c1c5a5f..e2b942bc 100644 --- a/archive/v0.1.15/getting-started.html +++ b/archive/v0.1.15/getting-started.html @@ -130,7 +130,8 @@ todo.controller = function() { } }; } -

The code above should hopefully be self-explanatory. You can use the controller like this:

+

The code above defines a controller class. It has three members: list, which is simply an array, description, which is an m.prop getter-setter function with an empty string as the initial value, and add, which is a method that adds a new Todo instance to list if an input description getter-setter is not an empty string. Later in this guide, we'll pass the description property as the parameter to this function. I'll explain why we're passing it as an argument when we get there.

+

You can use the controller like this:

var ctrl = new todo.controller();
 
 ctrl.description(); //[empty string]
diff --git a/archive/v0.1.15/mithril.min.zip b/archive/v0.1.15/mithril.min.zip
index e8ddf7e3..19e5549e 100644
Binary files a/archive/v0.1.15/mithril.min.zip and b/archive/v0.1.15/mithril.min.zip differ
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 1a9094e2..5fb5cc9e 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -127,7 +127,9 @@ todo.controller = function() {
 }
 ```
 
-The code above should hopefully be self-explanatory. You can use the controller like this:
+The code above defines a controller class. It has three members: `list`, which is simply an array, `description`, which is an `m.prop` getter-setter function with an empty string as the initial value, and `add`, which is a method that adds a new Todo instance to `list` if an input description getter-setter is not an empty string. Later in this guide, we'll pass the `description` property as the parameter to this function. I'll explain why we're passing it as an argument when we get there.
+
+You can use the controller like this:
 
 ```javascript
 var ctrl = new todo.controller();