Skip to content

Instantly share code, notes, and snippets.

@lislon
Created February 18, 2015 14:53
Show Gist options
  • Select an option

  • Save lislon/126bbf3554760713feec to your computer and use it in GitHub Desktop.

Select an option

Save lislon/126bbf3554760713feec to your computer and use it in GitHub Desktop.
_addViewListeners: function () {
var loanCalc = this;
this.listenTo(this.view, 'create:order:loan', function () {
loanCalc.trigger('create:order:loan', {
amount: this.model.get('amount'),
term: this.model.get('term'),
totalSum: this.model.get('totalSum'),
repayDate: this.model.get('repayDate'),
})
})
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment