diff options
author | Eric Guzman | 2012-06-11 13:28:42 -0700 |
---|---|---|
committer | Eric Guzman | 2012-06-11 13:28:42 -0700 |
commit | 3a4727ffc350216a434a7c6977b6a23653b77780 (patch) | |
tree | c5dff306f8803c36a16163ba5df1e7f492e762b5 /js/components/layout/documents-tab.reel/documents-tab.js | |
parent | d6b46ba496c9c8974ae39bb476aea35bcd1ddaf1 (diff) | |
parent | 337efc667372326ae2f9984d89a47bb151016774 (diff) | |
download | ninja-3a4727ffc350216a434a7c6977b6a23653b77780.tar.gz |
Merge branch 'binding' of github.com:dhg637/ninja-internal into binding
Diffstat (limited to 'js/components/layout/documents-tab.reel/documents-tab.js')
-rwxr-xr-x | js/components/layout/documents-tab.reel/documents-tab.js | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/js/components/layout/documents-tab.reel/documents-tab.js b/js/components/layout/documents-tab.reel/documents-tab.js index 982f6ecd..41c98b30 100755 --- a/js/components/layout/documents-tab.reel/documents-tab.js +++ b/js/components/layout/documents-tab.reel/documents-tab.js | |||
@@ -8,36 +8,7 @@ var Montage = require("montage/core/core").Montage; | |||
8 | var Component = require("montage/ui/component").Component; | 8 | var Component = require("montage/ui/component").Component; |
9 | 9 | ||
10 | exports.DocumentsTab = Montage.create(Component, { | 10 | exports.DocumentsTab = Montage.create(Component, { |
11 | 11 | contentController: { | |
12 | openDocuments: { | 12 | value: null |
13 | value: [] | ||
14 | }, | ||
15 | |||
16 | prepareForDraw: { | ||
17 | enumerable: false, | ||
18 | value: function() { | ||
19 | // console.log("Change this to be inside the Ninja Reel"); | ||
20 | this.openDocuments = this.application.ninja.documentController._documents; | ||
21 | // this.eventManager.addEventListener( "appLoaded", this, false); | ||
22 | } | ||
23 | }, | ||
24 | |||
25 | handleAppLoaded: { | ||
26 | value: function() { | ||
27 | // this.openDocuments = this.application.ninja.currentDocument; | ||
28 | } | ||
29 | }, | ||
30 | |||
31 | draw: { | ||
32 | enumerable: false, | ||
33 | value: function() { | ||
34 | |||
35 | } | ||
36 | }, | ||
37 | |||
38 | handleClick: { | ||
39 | value: function(event) { | ||
40 | |||
41 | } | ||
42 | } | 13 | } |
43 | }); \ No newline at end of file | 14 | }); \ No newline at end of file |