components.md - eliminate global variable introduced in previous commit
Oops!
This commit is contained in:
parent
4b2ec49ca9
commit
dc36588160
1 changed files with 1 additions and 1 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue