aboutsummaryrefslogtreecommitdiff
path: root/js/document/models
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-07-24 14:42:04 -0700
committerJose Antonio Marquez2012-07-24 14:42:04 -0700
commit791e1633e2c08543e236b0d25b5edd9aec2a003b (patch)
tree433a96c75cab8f882ceaaa4c5570f1730ed1c1a0 /js/document/models
parent8765e8fe23985171c88aaa6f39f4d63b3c03fb71 (diff)
downloadninja-791e1633e2c08543e236b0d25b5edd9aec2a003b.tar.gz
New: Adding logic to insert code view save method(s)
Diffstat (limited to 'js/document/models')
-rwxr-xr-xjs/document/models/base.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/document/models/base.js b/js/document/models/base.js
index a9bbd6db..85a0414f 100755
--- a/js/document/models/base.js
+++ b/js/document/models/base.js
@@ -253,8 +253,10 @@ exports.BaseDocumentModel = Montage.create(Component, {
253 this.libs.canvas = true; 253 this.libs.canvas = true;
254 } 254 }
255 } 255 }
256 } else if (this.currentView === this.views.code) {
257 //TODO: Add save logic for code view
256 } else { 258 } else {
257 //TODO: Add logic to save code view data 259 //TODO: Error handle
258 } 260 }
259 } 261 }
260 }, 262 },
@@ -294,8 +296,10 @@ exports.BaseDocumentModel = Montage.create(Component, {
294 this.libs.canvas = true; 296 this.libs.canvas = true;
295 } 297 }
296 } 298 }
299 } else if (this.currentView === this.views.code) {
300 //TODO: Add save logic for code view
297 } else { 301 } else {
298 //TODO: Add logic to save code view data 302 //TODO: Error handle
299 } 303 }
300 304
301 } 305 }