diff options
author | hwc487 | 2012-04-24 09:54:34 -0700 |
---|---|---|
committer | hwc487 | 2012-04-24 09:54:34 -0700 |
commit | 9d274a93cecc7cba543d27237e65425b2d6a393c (patch) | |
tree | ab26a25c360642e48ad27041fc270cae12cb6128 /js/document/views | |
parent | 27c1ba250a7db26cf24dd456d20af9ff1649e638 (diff) | |
parent | 55e6d621b9555abac06ab4adff44dfe29a78ec4e (diff) | |
download | ninja-9d274a93cecc7cba543d27237e65425b2d6a393c.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Canvas-interaction
Diffstat (limited to 'js/document/views')
-rwxr-xr-x | js/document/views/base.js (renamed from js/document/views/base-view.js) | 14 | ||||
-rwxr-xr-x | js/document/views/code.js | 25 | ||||
-rwxr-xr-x | js/document/views/design.js | 25 |
3 files changed, 53 insertions, 11 deletions
diff --git a/js/document/views/base-view.js b/js/document/views/base.js index be441da2..50c0a78d 100755 --- a/js/document/views/base-view.js +++ b/js/document/views/base.js | |||
@@ -6,25 +6,17 @@ 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.BaseDocumentView = 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 | //////////////////////////////////////////////////////////////////// | ||
21 | // | ||
22 | deserializedFromTemplate: { | ||
23 | enumerable: false, | ||
24 | value: function () { | ||
25 | // | ||
26 | } | ||
27 | } | ||
28 | //////////////////////////////////////////////////////////////////// | 20 | //////////////////////////////////////////////////////////////////// |
29 | //////////////////////////////////////////////////////////////////// | 21 | //////////////////////////////////////////////////////////////////// |
30 | }); | 22 | }); |
diff --git a/js/document/views/code.js b/js/document/views/code.js new file mode 100755 index 00000000..cd3e02d4 --- /dev/null +++ b/js/document/views/code.js | |||
@@ -0,0 +1,25 @@ | |||
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 | Component = require("montage/ui/component").Component, | ||
11 | BaseDocumentView = require("js/document/views/base").BaseDocumentView; | ||
12 | //////////////////////////////////////////////////////////////////////// | ||
13 | // | ||
14 | exports.CodeDocumentView = Montage.create(BaseDocumentView, { | ||
15 | //////////////////////////////////////////////////////////////////// | ||
16 | // | ||
17 | hasTemplate: { | ||
18 | enumerable: false, | ||
19 | value: false | ||
20 | } | ||
21 | //////////////////////////////////////////////////////////////////// | ||
22 | //////////////////////////////////////////////////////////////////// | ||
23 | }); | ||
24 | //////////////////////////////////////////////////////////////////////// | ||
25 | //////////////////////////////////////////////////////////////////////// \ No newline at end of file | ||
diff --git a/js/document/views/design.js b/js/document/views/design.js new file mode 100755 index 00000000..84871257 --- /dev/null +++ b/js/document/views/design.js | |||
@@ -0,0 +1,25 @@ | |||
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 | Component = require("montage/ui/component").Component, | ||
11 | CodeDocumentView = require("js/document/views/code").CodeDocumentView; | ||
12 | //////////////////////////////////////////////////////////////////////// | ||
13 | // | ||
14 | exports.DesignDocumentView = Montage.create(CodeDocumentView, { | ||
15 | //////////////////////////////////////////////////////////////////// | ||
16 | // | ||
17 | hasTemplate: { | ||
18 | enumerable: false, | ||
19 | value: false | ||
20 | } | ||
21 | //////////////////////////////////////////////////////////////////// | ||
22 | //////////////////////////////////////////////////////////////////// | ||
23 | }); | ||
24 | //////////////////////////////////////////////////////////////////////// | ||
25 | //////////////////////////////////////////////////////////////////////// \ No newline at end of file | ||