aboutsummaryrefslogtreecommitdiff
path: root/js/document/controllers
diff options
context:
space:
mode:
authorAnanya Sen2012-04-26 12:57:56 -0700
committerAnanya Sen2012-04-26 12:57:56 -0700
commitb2132103b12e499f26e6e0f311d48555a9f733ff (patch)
tree2eaa000b460e4be3c8050a369318584b2591e8d7 /js/document/controllers
parent07c611323c109aaa2208ebc15a354b81c3f04a0d (diff)
parent902dc18296fc78f3b8e67d952c42981d926bb2fc (diff)
downloadninja-b2132103b12e499f26e6e0f311d48555a9f733ff.tar.gz
Merge branch 'refs/heads/ninja-internal-master' into Codeview-improvements
Conflicts: js/controllers/document-controller.js Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
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});