diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-08-11 13:22:31 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-08-11 13:22:31 -0400 |
| commit | b5d2503ec4e5844ab3793c9e48020bcbaef3112b (patch) | |
| tree | aff3c14c64daaf15a7fc954d7c4596cc82e42665 /public/assets/javascripts/ui/blueprint/BlueprintView.js | |
| parent | 8d749201d661f62766b4e3a84735c3307ff7ab5e (diff) | |
blueprint integration into views
Diffstat (limited to 'public/assets/javascripts/ui/blueprint/BlueprintView.js')
| -rw-r--r-- | public/assets/javascripts/ui/blueprint/BlueprintView.js | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/public/assets/javascripts/ui/blueprint/BlueprintView.js b/public/assets/javascripts/ui/blueprint/BlueprintView.js new file mode 100644 index 0000000..f7ee13e --- /dev/null +++ b/public/assets/javascripts/ui/blueprint/BlueprintView.js @@ -0,0 +1,39 @@ + +var BlueprintView = View.extend({ + el: "#blueprintView", + + 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 BlueprintUploadView ({ 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(){ + }, + + pickWall: function(wall, pos){ + }, + +}) |
