var MasterView = View.extend({ el: "body", events: { "click [data-role='show-signup-modal']": 'showSignUpModal', "click [data-role='show-signin-modal']": 'showSignInModal', }, initialize: function(){ this.signUpModal = new SignUpModal() this.signInModal = new SignInModal() $("body").removeClass("loading") // app.launch() }, showSignUpModal: function(e){ e.preventDefault() this.signUpModal.load() }, showSignInModal: function(e){ e.preventDefault() this.signInModal.load() }, })