summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/ui/blueprint/BlueprintView.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/javascripts/ui/blueprint/BlueprintView.js')
-rw-r--r--public/assets/javascripts/ui/blueprint/BlueprintView.js39
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){
+ },
+
+})