Created
February 15, 2012 02:26
-
-
Save trabianmatt/1832639 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ styles } = require 'helpers' | |
PayoffOverview = require 'views/accounts/payoff/overview' | |
module.exports = class PayoffWindow extends Backbone.TitaniumView | |
viewName: 'Window' | |
attributes: styles.window.main | |
initialize: -> | |
@view.title = 'Calculating Payoff...' | |
render: => | |
overview = new PayoffOverview | |
model: @model | |
controller: @controller | |
@bindTo overview, 'loaded', => | |
@view.title = 'Payoff Quote' | |
@view.add overview.render().view | |
@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Heh - looks like I'm not using the viewStyles attribute in this view. Always nice to be able to trim code.