var SettingsView = FormView.extend({ el: "#settings", events: { }, initialize: function(){ this.$form = this.$("form") this.$msg = this.$(".msg") this.scroller = new IScroll('#settings', app.iscroll_options) }, show: function(){ if (! auth.logged_in()) { return app.router.go("intro") } app.footer.show("SAVE", "CANCEL") document.body.className = "settings" this.deferScrollToTop() }, save: function(){ }, })