aboutsummaryrefslogtreecommitdiff
path: root/js/document/controllers
diff options
context:
space:
mode:
authorhwc4872012-04-24 09:54:34 -0700
committerhwc4872012-04-24 09:54:34 -0700
commit9d274a93cecc7cba543d27237e65425b2d6a393c (patch)
treeab26a25c360642e48ad27041fc270cae12cb6128 /js/document/controllers
parent27c1ba250a7db26cf24dd456d20af9ff1649e638 (diff)
parent55e6d621b9555abac06ab4adff44dfe29a78ec4e (diff)
downloadninja-9d274a93cecc7cba543d27237e65425b2d6a393c.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Canvas-interaction
Diffstat (limited to 'js/document/controllers')
-rwxr-xr-xjs/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//
9var Montage = require("montage/core/core").Montage, 9var Montage = require("montage/core/core").Montage,
10 Component = require("montage/ui/component").Component; 10 Component = require("montage/ui/component").Component;
11//////////////////////////////////////////////////////////////////////// 11////////////////////////////////////////////////////////////////////////
12// 12//
13exports.ENTERNAME = Montage.create(Montage, { 13exports.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});