diff options
author | Valerio Virgillito | 2012-04-23 17:09:31 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-23 17:09:31 -0700 |
commit | 55e6d621b9555abac06ab4adff44dfe29a78ec4e (patch) | |
tree | 3f383cb4b9e92dcb7f80eed62ff6cbc467062448 /js/document/controllers | |
parent | 5a0331fc26fcc2cdc6200086109e34440a2dec6a (diff) | |
parent | 4ab2a55ba2175c72f859c428122a166f8af74140 (diff) | |
download | ninja-55e6d621b9555abac06ab4adff44dfe29a78ec4e.tar.gz |
Merge pull request #173 from mencio/stage-document-architecture
Stage document architecture - Initial commit to support opening Web template
Diffstat (limited to 'js/document/controllers')
-rwxr-xr-x | js/document/controllers/document.js (renamed from js/document/controllers/base-controller.js) | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/js/document/controllers/base-controller.js b/js/document/controllers/document.js index be441da2..feba3e0e 100755 --- a/js/document/controllers/base-controller.js +++ b/js/document/controllers/document.js | |||
@@ -6,25 +6,38 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
6 | 6 | ||
7 | //////////////////////////////////////////////////////////////////////// | 7 | //////////////////////////////////////////////////////////////////////// |
8 | // | 8 | // |
9 | var Montage = require("montage/core/core").Montage, | 9 | var Montage = require("montage/core/core").Montage, |
10 | Component = require("montage/ui/component").Component; | 10 | Component = require("montage/ui/component").Component; |
11 | //////////////////////////////////////////////////////////////////////// | 11 | //////////////////////////////////////////////////////////////////////// |
12 | // | 12 | // |
13 | exports.ENTERNAME = Montage.create(Montage, { | 13 | exports.DocumentController = Montage.create(Component, { |
14 | //////////////////////////////////////////////////////////////////// | 14 | //////////////////////////////////////////////////////////////////// |
15 | // | 15 | // |
16 | hasTemplate: { | 16 | hasTemplate: { |
17 | enumerable: false, | 17 | enumerable: false, |
18 | value: false | 18 | value: false |
19 | }, | 19 | }, |
20 | //////////////////////////////////////////////////////////////////// | 20 | //////////////////////////////////////////////////////////////////// |
21 | // | 21 | // |
22 | deserializedFromTemplate: { | 22 | save: { |
23 | enumerable: false, | 23 | value: function () { |
24 | value: function () { | 24 | // |
25 | // | 25 | } |
26 | } | 26 | }, |
27 | } | 27 | //////////////////////////////////////////////////////////////////// |
28 | // | ||
29 | saveAs: { | ||
30 | value: function () { | ||
31 | // | ||
32 | } | ||
33 | }, | ||
34 | //////////////////////////////////////////////////////////////////// | ||
35 | // | ||
36 | close: { | ||
37 | value: function () { | ||
38 | // | ||
39 | } | ||
40 | } | ||
28 | //////////////////////////////////////////////////////////////////// | 41 | //////////////////////////////////////////////////////////////////// |
29 | //////////////////////////////////////////////////////////////////// | 42 | //////////////////////////////////////////////////////////////////// |
30 | }); | 43 | }); |