components.md - eliminate global variable introduced in previous commit

Oops!
This commit is contained in:
pelonpelon 2015-07-07 09:04:08 -05:00
parent 4b2ec49ca9
commit dc36588160

View file

@ -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})