var BlueprintView = View.extend({ el: "#blueprintView", action: "/api/layout/", events: { }, initialize: function(){ // this.info = new BuilderInfo ({ parent: this }) // this.toolbar = new BuilderToolbar ({ parent: this }) // this.settings = new BuilderSettings ({ parent: this }) // this.colorControl = new ColorControl ({ parent: this }) // this.cursor = new HelpCursor({ parent: this }) this.blueprintUpload = new BlueprintUpload ({ parent: this }) this.blueprintScaler = new BlueprintScaler ({ parent: this }) }, load: function(name){ if (! name || name == "new") { // this.ready({ isNew: true, _id: "new", name: "" }) return } name = sanitize(name) $.get(this.action + name, this.ready.bind(this)) }, ready: function(data){ // this.settings.load(data) // this.info.load(data) }, hideExtras: function(){ }, useFloorplan: function(media){ }, pickWall: function(wall, pos){ }, })