Skip to content

Instantly share code, notes, and snippets.

@lislon
Created February 19, 2015 09:31
Show Gist options
  • Select an option

  • Save lislon/667c4dc57e8cab4175ea to your computer and use it in GitHub Desktop.

Select an option

Save lislon/667c4dc57e8cab4175ea to your computer and use it in GitHub Desktop.
create: function (options) {
var c = this;
console.log("Layout created");
c.loanOrder.set('loan', options); // Set options from loan calc to loan order
c.layout = new views.Layout();
c.layout.on('render', function() {
c.infoPanel = new views.Panel({model: c.loanOrder});
c.layout.getRegion('infoPanel').show(c.infoPanel);
c.renderStageForm();
})
c.layout.render();
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment