diff --git a/docs/components.md b/docs/components.md index 3153beb3..14e9b422 100644 --- a/docs/components.md +++ b/docs/components.md @@ -396,7 +396,7 @@ var ContactsWidget = { //ContactList no longer calls `Contact.save` var ContactForm = { controller: function(args) { - ctrl = this + var ctrl = this ctrl.contact = m.prop(new Contact()) ctrl.save = function(contact) { Observable.trigger("saveContact", {contact: contact})