Merge pull request #707 from pelonpelon/patch-17

components.md - eliminate global variable introduced in previous commit
This commit is contained in:
Leo Horie 2015-07-07 15:56:34 -04:00
commit 1aa3057fed

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