aboutsummaryrefslogtreecommitdiff
path: root/js/document/controllers
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-04-25 13:34:04 -0700
committerNivesh Rajbhandari2012-04-25 13:34:04 -0700
commit32a24988add5ba0ecf80caa31871cdd90e3eea5b (patch)
treefbf05f2dfc91e57ab9598046ff16798ea0ae1966 /js/document/controllers
parent60d6346a78fb5257eaf36f17a5fcb764a342c012 (diff)
parentd3a6350163ada5644d34ed8d5c2a00cef4db2afc (diff)
downloadninja-32a24988add5ba0ecf80caa31871cdd90e3eea5b.tar.gz
Merge branch 'refs/heads/ninja-internal' into WebGLMaterials
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});