aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-02 17:52:13 -0800
committerJose Antonio Marquez2012-02-02 17:52:13 -0800
commit4d8306b638c53899403a4f0328c02bf1ab893e8f (patch)
tree122e3009b58db4db5725aa93cd6986a0956d0b4a
parent476a25e8a662270dfe5b37c560e4235f02b146e4 (diff)
downloadninja-4d8306b638c53899403a4f0328c02bf1ab893e8f.tar.gz
Setting up mediator for UI in FileIO
-rw-r--r--js/mediators/io-mediator.js29
1 files changed, 27 insertions, 2 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js
index b392a065..f778c849 100644
--- a/js/mediators/io-mediator.js
+++ b/js/mediators/io-mediator.js
@@ -14,9 +14,34 @@ var Montage = require("montage/core/core").Montage,
14exports.IoMediator = Montage.create(Object.prototype, { 14exports.IoMediator = Montage.create(Object.prototype, {
15 //////////////////////////////////////////////////////////////////// 15 ////////////////////////////////////////////////////////////////////
16 // 16 //
17 name: { 17 fileNew: {
18 enumerable: false, 18 enumerable: false,
19 value: function () { 19 value: function (file, template, callback) {
20 //
21
22 }
23 },
24 ////////////////////////////////////////////////////////////////////
25 //
26 fileOpen: {
27 enumerable: false,
28 value: function (file, callback) {
29 //
30 }
31 },
32 ////////////////////////////////////////////////////////////////////
33 //
34 fileSave: {
35 enumerable: false,
36 value: function (file, callback) {
37 //
38 }
39 },
40 ////////////////////////////////////////////////////////////////////
41 //
42 fileSaveAs: {
43 enumerable: false,
44 value: function (file, copy, callback) {
20 // 45 //
21 } 46 }
22 } 47 }