var PaymentView = View.extend({ el: "#payment", events: { }, initialize: function(){ this.address = new AddressView ({ parent: this }) }, show: function(){ document.body.className = "payment" }, }) var AddressView = View.extend({ template: $("#address_template").html(), events: { }, initialize: function(opt){ this.parent = opt.parent }, build: function(){ }, deserialize: function(){ }, serialize: function(){ }, })