diff options
Diffstat (limited to 'js/data')
-rwxr-xr-x | js/data/menu-data.js | 16 | ||||
-rw-r--r-- | js/data/panels-data.js | 26 | ||||
-rwxr-xr-x | js/data/tools-data.js | 11 |
3 files changed, 39 insertions, 14 deletions
diff --git a/js/data/menu-data.js b/js/data/menu-data.js index 9e8bf945..1cde3e8d 100755 --- a/js/data/menu-data.js +++ b/js/data/menu-data.js | |||
@@ -22,13 +22,13 @@ exports.MenuData = Montage.create( Montage, { | |||
22 | "displayText" : "New File", | 22 | "displayText" : "New File", |
23 | "hasSubMenu" : false, | 23 | "hasSubMenu" : false, |
24 | "enabled": true, | 24 | "enabled": true, |
25 | "action": "executeNewFile" | 25 | "action": "executeNewWebpage" |
26 | }, | 26 | }, |
27 | { | 27 | { |
28 | "displayText" : "Open File", | 28 | "displayText" : "Open File", |
29 | "hasSubMenu" : false, | 29 | "hasSubMenu" : false, |
30 | "enabled": true, | 30 | "enabled": true, |
31 | "action": "executeFileOpen" | 31 | "action": "executeWebpageOpen" |
32 | }, | 32 | }, |
33 | { | 33 | { |
34 | "displayText" : "Close File", | 34 | "displayText" : "Close File", |
@@ -130,18 +130,6 @@ exports.MenuData = Montage.create( Montage, { | |||
130 | { | 130 | { |
131 | "displayText" : "", | 131 | "displayText" : "", |
132 | "separator": true | 132 | "separator": true |
133 | }, | ||
134 | { | ||
135 | "displayText" : "New Webpage", | ||
136 | "hasSubMenu" : false, | ||
137 | "enabled": true, | ||
138 | "action": "executeNewWebpage" | ||
139 | }, | ||
140 | { | ||
141 | "displayText" : "Open Webpage", | ||
142 | "hasSubMenu" : false, | ||
143 | "enabled": true, | ||
144 | "action": "executeWebpageOpen" | ||
145 | } | 133 | } |
146 | ] | 134 | ] |
147 | }, | 135 | }, |
diff --git a/js/data/panels-data.js b/js/data/panels-data.js index f613a3be..23bfa1ed 100644 --- a/js/data/panels-data.js +++ b/js/data/panels-data.js | |||
@@ -105,6 +105,32 @@ exports.PanelsData = Montage.create(Montage, { | |||
105 | open: true, | 105 | open: true, |
106 | modulePath: "js/panels/history-panel/history.reel", | 106 | modulePath: "js/panels/history-panel/history.reel", |
107 | moduleName: "History" | 107 | moduleName: "History" |
108 | }, | ||
109 | { | ||
110 | name: "Binding", | ||
111 | groups: ["ws-binding"], | ||
112 | minHeight: 100, | ||
113 | height: 100, | ||
114 | maxHeight: null, | ||
115 | flexible: true, | ||
116 | collapsed: true, | ||
117 | scrollable: true, | ||
118 | open: true, | ||
119 | modulePath: "js/panels/binding-panel.reel", | ||
120 | moduleName: "BindingPanel" | ||
121 | }, | ||
122 | { | ||
123 | name: "Objects", | ||
124 | groups: ["ws-binding"], | ||
125 | minHeight: 100, | ||
126 | height: 100, | ||
127 | maxHeight: null, | ||
128 | flexible: true, | ||
129 | collapsed: true, | ||
130 | scrollable: true, | ||
131 | open: true, | ||
132 | modulePath: "js/panels/objects.reel", | ||
133 | moduleName: "ObjectsPanel" | ||
108 | } | 134 | } |
109 | ] | 135 | ] |
110 | } | 136 | } |
diff --git a/js/data/tools-data.js b/js/data/tools-data.js index 4d009530..12c6c965 100755 --- a/js/data/tools-data.js +++ b/js/data/tools-data.js | |||
@@ -222,6 +222,17 @@ exports.ToolsData = Montage.create(Montage, { | |||
222 | "lastInGroup": true, | 222 | "lastInGroup": true, |
223 | "container": false, | 223 | "container": false, |
224 | "selected": false | 224 | "selected": false |
225 | }, | ||
226 | { | ||
227 | "id": "bindingTool", | ||
228 | "properties": "bindingProperties", | ||
229 | "spriteSheet": true, | ||
230 | "action": "bindingTool", | ||
231 | "toolTip": "Binding (B)", | ||
232 | "cursor": "url('images/cursors/binding.png'),default", | ||
233 | "lastInGroup": true, | ||
234 | "container": false, | ||
235 | "selected": false | ||
225 | } | 236 | } |
226 | ] | 237 | ] |
227 | }, | 238 | }, |