From dc3658816048c768fdafd43c7e1b644bcb5dad2f Mon Sep 17 00:00:00 2001 From: pelonpelon Date: Tue, 7 Jul 2015 09:04:08 -0500 Subject: [PATCH] components.md - eliminate global variable introduced in previous commit Oops! --- docs/components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})