diff options
author | Jose Antonio Marquez | 2012-02-01 23:31:36 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-01 23:31:36 -0800 |
commit | 33e655cbbb0816340c5a2e5d5cc0a6b0c7d9f53c (patch) | |
tree | 0bc03653f9739ff09d1e14ddf061a147b9dc383d /js/mediators | |
parent | b354ea65f7c53ce05aff6a204853e666f084950f (diff) | |
download | ninja-33e655cbbb0816340c5a2e5d5cc0a6b0c7d9f53c.tar.gz |
File IO clean up and setting up
Cleaned up file IO templates and removed app-caching from Ninja since it would be needed. Setting up io-mediator to hook up to controller. Still need to address naming conventions and clean up more in the io directory.
Diffstat (limited to 'js/mediators')
-rw-r--r-- | js/mediators/io-mediator.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js new file mode 100644 index 00000000..b392a065 --- /dev/null +++ b/js/mediators/io-mediator.js | |||
@@ -0,0 +1,27 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | //////////////////////////////////////////////////////////////////////// | ||
8 | // | ||
9 | var Montage = require("montage/core/core").Montage, | ||
10 | FileIo = require("js/io/system/fileio").FileIo, | ||
11 | ProjectIo = require("js/io/system/projectio").ProjectIo; | ||
12 | //////////////////////////////////////////////////////////////////////// | ||
13 | // | ||
14 | exports.IoMediator = Montage.create(Object.prototype, { | ||
15 | //////////////////////////////////////////////////////////////////// | ||
16 | // | ||
17 | name: { | ||
18 | enumerable: false, | ||
19 | value: function () { | ||
20 | // | ||
21 | } | ||
22 | } | ||
23 | //////////////////////////////////////////////////////////////////// | ||
24 | //////////////////////////////////////////////////////////////////// | ||
25 | }); | ||
26 | //////////////////////////////////////////////////////////////////////// | ||
27 | //////////////////////////////////////////////////////////////////////// \ No newline at end of file | ||