diff options
author | John Mayhew | 2012-04-26 16:23:59 -0700 |
---|---|---|
committer | John Mayhew | 2012-04-26 16:23:59 -0700 |
commit | bcfb200482c26b2bfc0d6577b1eb0de7a19a6762 (patch) | |
tree | c61bee4e6a61a14b0eba680876bb5839d8a0d526 /js/panels | |
parent | 62cd8d643ce69b7f38295fad511a4b6d3d4dd638 (diff) | |
download | ninja-bcfb200482c26b2bfc0d6577b1eb0de7a19a6762.tar.gz |
Removing all "module" declarations and replaced with "prototype" in preparation for montage converting to the new "prototype" format fully
Diffstat (limited to 'js/panels')
34 files changed, 168 insertions, 312 deletions
diff --git a/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html b/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html index 98b2b61d..c62b2b23 100755 --- a/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html +++ b/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html | |||
@@ -1,4 +1,4 @@ | |||
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <!-- <copyright> | 2 | <!-- <copyright> |
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | 3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> |
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | 4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> |
@@ -11,8 +11,7 @@ | |||
11 | <script type="text/montage-serialization"> | 11 | <script type="text/montage-serialization"> |
12 | { | 12 | { |
13 | "resizer1": { | 13 | "resizer1": { |
14 | "module": "js/panels/Resizer", | 14 | "prototype": "js/panels/Resizer", |
15 | "name": "Resizer", | ||
16 | "properties": { | 15 | "properties": { |
17 | "element": {"#": "subPanelResizer"}, | 16 | "element": {"#": "subPanelResizer"}, |
18 | "panel": {"#": "nj-section-stylesheets"}, | 17 | "panel": {"#": "nj-section-stylesheets"}, |
@@ -21,16 +20,14 @@ | |||
21 | }, | 20 | }, |
22 | 21 | ||
23 | "ComputedStyleSubPanel1": { | 22 | "ComputedStyleSubPanel1": { |
24 | "module": "js/panels/CSSPanel/ComputedStyleSubPanel.reel", | 23 | "prototype": "js/panels/CSSPanel/ComputedStyleSubPanel.reel", |
25 | "name": "ComputedStyleSubPanel", | ||
26 | "properties": { | 24 | "properties": { |
27 | "element": {"#": "nj-computed-sub-panel"} | 25 | "element": {"#": "nj-computed-sub-panel"} |
28 | } | 26 | } |
29 | }, | 27 | }, |
30 | 28 | ||
31 | "owner": { | 29 | "owner": { |
32 | "module": "js/panels/CSSPanel/CSSPanelBase.reel", | 30 | "prototype": "js/panels/CSSPanel/CSSPanelBase.reel", |
33 | "name": "CSSPanelBase", | ||
34 | "properties": { | 31 | "properties": { |
35 | "element": {"#": "css_panel"}, | 32 | "element": {"#": "css_panel"}, |
36 | "computedStyleSubPanel": {"@": "ComputedStyleSubPanel1"} | 33 | "computedStyleSubPanel": {"@": "ComputedStyleSubPanel1"} |
diff --git a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html index c30d2fb4..53c243a8 100755 --- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html +++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html | |||
@@ -1,4 +1,4 @@ | |||
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <!-- <copyright> | 2 | <!-- <copyright> |
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | 3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> |
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | 4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> |
@@ -12,8 +12,7 @@ | |||
12 | <script type="text/montage-serialization"> | 12 | <script type="text/montage-serialization"> |
13 | { | 13 | { |
14 | "owner": { | 14 | "owner": { |
15 | "module": "js/panels/CSSPanel/ComputedStyleSubPanel.reel", | 15 | "prototype": "js/panels/CSSPanel/ComputedStyleSubPanel.reel", |
16 | "name": "ComputedStyleSubPanel", | ||
17 | "properties": { | 16 | "properties": { |
18 | "element": {"#": "nj-css-panel-computed"}, | 17 | "element": {"#": "nj-css-panel-computed"}, |
19 | "groupDropDown": {"#": "nj-css-group-select"}, | 18 | "groupDropDown": {"#": "nj-css-group-select"}, |
diff --git a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html index 4e41512f..741ff6aa 100755 --- a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html +++ b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html | |||
@@ -1,4 +1,4 @@ | |||
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <!-- <copyright> | 2 | <!-- <copyright> |
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | 3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> |
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | 4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> |
@@ -47,12 +47,10 @@ | |||
47 | ] | 47 | ] |
48 | }, | 48 | }, |
49 | "materialInfo": { | 49 | "materialInfo": { |
50 | "module": "js/panels/Materials/materials-popup.reel", | 50 | "prototype": "js/panels/Materials/materials-popup.reel" |
51 | "name": "MaterialsPopup" | ||
52 | }, | 51 | }, |
53 | "materialsController" : { | 52 | "materialsController" : { |
54 | "module": "js/controllers/tree-controller", | 53 | "prototype": "js/controllers/tree-controller", |
55 | "name": "TreeController", | ||
56 | "properties" : { | 54 | "properties" : { |
57 | "branchKey" : "children", | 55 | "branchKey" : "children", |
58 | "labelKey" : "label", | 56 | "labelKey" : "label", |
@@ -66,8 +64,7 @@ | |||
66 | } | 64 | } |
67 | }, | 65 | }, |
68 | "materialsContainer" : { | 66 | "materialsContainer" : { |
69 | "module" : "js/components/treeview/treeview.reel", | 67 | "prototype" : "js/components/treeview/treeview.reel", |
70 | "name" : "Treeview", | ||
71 | "properties" : { | 68 | "properties" : { |
72 | "element" : {"#": "materials_library_tree"}, | 69 | "element" : {"#": "materials_library_tree"}, |
73 | "branchComponent" : {"@": "branch" }, | 70 | "branchComponent" : {"@": "branch" }, |
@@ -76,12 +73,10 @@ | |||
76 | } | 73 | } |
77 | }, | 74 | }, |
78 | "branch" : { | 75 | "branch" : { |
79 | "module" : "js/components/treeview/ninja-branch.reel", | 76 | "prototype" : "js/components/treeview/ninja-branch.reel[Branch]" |
80 | "name" : "Branch" | ||
81 | }, | 77 | }, |
82 | "owner": { | 78 | "owner": { |
83 | "module": "js/panels/Materials/materials-library-panel.reel", | 79 | "prototype": "js/panels/Materials/materials-library-panel.reel[MaterialsLibraryPanels]", |
84 | "name": "MaterialsLibraryPanels", | ||
85 | "properties": { | 80 | "properties": { |
86 | "element": {"#": "materials_library_panel"}, | 81 | "element": {"#": "materials_library_panel"}, |
87 | "_materialInfo": {"@": "materialInfo"} | 82 | "_materialInfo": {"@": "materialInfo"} |
diff --git a/js/panels/Materials/materials-popup.reel/materials-popup.html b/js/panels/Materials/materials-popup.reel/materials-popup.html index ae0ee2c8..9fdbc00d 100755 --- a/js/panels/Materials/materials-popup.reel/materials-popup.html +++ b/js/panels/Materials/materials-popup.reel/materials-popup.html | |||
@@ -14,32 +14,28 @@ | |||
14 | <script type="text/montage-serialization"> | 14 | <script type="text/montage-serialization"> |
15 | { | 15 | { |
16 | "okButton": { | 16 | "okButton": { |
17 | "module": "montage/ui/button.reel", | 17 | "prototype": "montage/ui/button.reel", |
18 | "name": "Button", | ||
19 | "properties": { | 18 | "properties": { |
20 | "element": {"#": "mp_ok_btn"}, | 19 | "element": {"#": "mp_ok_btn"}, |
21 | "label": "OK" | 20 | "label": "OK" |
22 | } | 21 | } |
23 | }, | 22 | }, |