Index: branches/resourceloader/phase3/resources/Resources.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | |
15 | 15 | /* jQuery UI */ |
16 | 16 | |
17 | | - // Components |
| 17 | + // Core |
18 | 18 | 'jquery.ui.core' => array( |
19 | 19 | 'script' => 'resources/jquery/ui/jquery.ui.core.js', |
20 | 20 | 'themes' => array( |
— | — | @@ -22,33 +22,99 @@ |
23 | 23 | ), |
24 | 24 | 'needs' => array( 'jquery' ), |
25 | 25 | ), |
| 26 | + 'jquery.ui.widget' => array( |
| 27 | + 'script' => 'resources/jquery/ui/jquery.ui.widget.js', |
| 28 | + 'needs' => array( 'jquery.ui.core' ), |
| 29 | + ), |
| 30 | + 'jquery.ui.mouse' => array( |
| 31 | + 'script' => 'resources/jquery/ui/jquery.ui.mouse.js', |
| 32 | + 'needs' => array( 'jquery.ui.core' ), |
| 33 | + ), |
| 34 | + 'jquery.ui.position' => array( |
| 35 | + 'script' => 'resources/jquery/ui/jquery.ui.position.js', |
| 36 | + 'needs' => array( 'jquery.ui.core' ), |
| 37 | + ), |
| 38 | + // Interactions |
| 39 | + 'jquery.ui.draggable' => array( |
| 40 | + 'script' => 'resources/jquery/ui/jquery.ui.draggable.js', |
| 41 | + 'needs' => array( 'jquery.ui.core' ), |
| 42 | + ), |
| 43 | + 'jquery.ui.droppable' => array( |
| 44 | + 'script' => 'resources/jquery/ui/jquery.ui.droppable.js', |
| 45 | + 'needs' => array( 'jquery.ui.core' ), |
| 46 | + ), |
| 47 | + 'jquery.ui.resizable' => array( |
| 48 | + 'script' => 'resources/jquery/ui/jquery.ui.resizable.js', |
| 49 | + 'themes' => array( |
| 50 | + 'default' => 'resources/jquery/ui/themes/default/jquery.ui.resizable.css', |
| 51 | + 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.resizable.css', |
| 52 | + ), |
| 53 | + 'needs' => array( 'jquery.ui.core' ), |
| 54 | + ), |
| 55 | + 'jquery.ui.selectable' => array( |
| 56 | + 'script' => 'resources/jquery/ui/jquery.ui.selectable.js', |
| 57 | + 'themes' => array( |
| 58 | + 'default' => 'resources/jquery/ui/themes/default/jquery.ui.selectable.css', |
| 59 | + 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.selectable.css', |
| 60 | + ), |
| 61 | + 'needs' => array( 'jquery.ui.core' ), |
| 62 | + ), |
| 63 | + 'jquery.ui.sortable' => array( |
| 64 | + 'script' => 'resources/jquery/ui/jquery.ui.sortable.js', |
| 65 | + 'needs' => array( 'jquery.ui.core' ), |
| 66 | + ), |
| 67 | + // Widgets |
26 | 68 | 'jquery.ui.accordion' => array( |
27 | 69 | 'script' => 'resources/jquery/ui/jquery.ui.accordion.js', |
| 70 | + 'needs' => array( 'jquery.ui.widget' ), |
28 | 71 | 'themes' => array( |
29 | 72 | 'default' => 'resources/jquery/ui/themes/default/jquery.ui.accordion.css', |
30 | 73 | 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.accordion.css', |
31 | 74 | ), |
32 | | - 'needs' => array( 'jquery.ui.core' ), |
33 | 75 | ), |
34 | 76 | 'jquery.ui.autocomplete' => array( |
35 | 77 | 'script' => 'resources/jquery/ui/jquery.ui.autocomplete.js', |
| 78 | + 'needs' => array( 'jquery.ui.widget' ), |
36 | 79 | 'themes' => array( |
37 | 80 | 'default' => 'resources/jquery/ui/themes/default/jquery.ui.autocomplete.css', |
38 | 81 | 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.autocomplete.css', |
39 | 82 | ), |
40 | | - 'needs' => array( 'jquery.ui.core' ), |
41 | 83 | ), |
42 | 84 | 'jquery.ui.button' => array( |
43 | 85 | 'script' => 'resources/jquery/ui/jquery.ui.button.js', |
| 86 | + 'needs' => array( 'jquery.ui.widget' ), |
44 | 87 | 'themes' => array( |
45 | 88 | 'default' => 'resources/jquery/ui/themes/default/jquery.ui.button.css', |
46 | 89 | 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.button.css', |
47 | 90 | ), |
48 | | - 'needs' => array( 'jquery.ui.core' ), |
49 | 91 | ), |
| 92 | + 'jquery.ui.dialog' => array( |
| 93 | + 'script' => 'resources/jquery/ui/jquery.ui.dialog.js', |
| 94 | + 'needs' => array( 'jquery.ui.widget' ), |
| 95 | + 'themes' => array( |
| 96 | + 'default' => 'resources/jquery/ui/themes/default/jquery.ui.dialog.css', |
| 97 | + 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.dialog.css', |
| 98 | + ), |
| 99 | + ), |
| 100 | + 'jquery.ui.slider' => array( |
| 101 | + 'script' => 'resources/jquery/ui/jquery.ui.slider.js', |
| 102 | + 'needs' => array( 'jquery.ui.widget' ), |
| 103 | + 'themes' => array( |
| 104 | + 'default' => 'resources/jquery/ui/themes/default/jquery.ui.slider.css', |
| 105 | + 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.slider.css', |
| 106 | + ), |
| 107 | + ), |
| 108 | + 'jquery.ui.tabs' => array( |
| 109 | + 'script' => 'resources/jquery/ui/jquery.ui.tabs.js', |
| 110 | + 'needs' => array( 'jquery.ui.widget' ), |
| 111 | + 'themes' => array( |
| 112 | + 'default' => 'resources/jquery/ui/themes/default/jquery.ui.tabs.css', |
| 113 | + 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.tabs.css', |
| 114 | + ), |
| 115 | + ), |
50 | 116 | 'jquery.ui.datepicker' => array( |
51 | 117 | 'script' => 'resources/jquery/ui/jquery.ui.datepicker.js', |
52 | | - 'needs' => array( 'jquery.ui.core' ), |
| 118 | + 'needs' => array( 'jquery.ui.widget' ), |
53 | 119 | 'themes' => array( |
54 | 120 | 'default' => 'resources/jquery/ui/themes/default/jquery.ui.datepicker.css', |
55 | 121 | 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.datepicker.css', |
— | — | @@ -108,130 +174,66 @@ |
109 | 175 | 'zh-tw' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-zh-TW.js' |
110 | 176 | ), |
111 | 177 | ), |
112 | | - 'jquery.ui.dialog' => array( |
113 | | - 'script' => 'resources/jquery/ui/jquery.ui.dialog.js', |
114 | | - 'themes' => array( |
115 | | - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.dialog.css', |
116 | | - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.dialog.css', |
117 | | - ), |
118 | | - 'needs' => array( 'jquery.ui.core' ), |
119 | | - ), |
120 | | - 'jquery.ui.draggable' => array( |
121 | | - 'script' => 'resources/jquery/ui/jquery.ui.draggable.js', |
122 | | - 'needs' => array( 'jquery.ui.core' ), |
123 | | - ), |
124 | | - 'jquery.ui.droppable' => array( |
125 | | - 'script' => 'resources/jquery/ui/jquery.ui.droppable.js', |
126 | | - 'needs' => array( 'jquery.ui.core' ), |
127 | | - ), |
128 | | - 'jquery.ui.mouse' => array( |
129 | | - 'script' => 'resources/jquery/ui/jquery.ui.mouse.js', |
130 | | - 'needs' => array( 'jquery.ui.core' ), |
131 | | - ), |
132 | | - 'jquery.ui.position' => array( |
133 | | - 'script' => 'resources/jquery/ui/jquery.ui.position.js', |
134 | | - 'needs' => array( 'jquery.ui.core' ), |
135 | | - ), |
136 | 178 | 'jquery.ui.progressbar' => array( |
137 | 179 | 'script' => 'resources/jquery/ui/jquery.ui.progressbar.js', |
| 180 | + 'needs' => array( 'jquery.ui.widget' ), |
138 | 181 | 'themes' => array( |
139 | 182 | 'default' => 'resources/jquery/ui/themes/default/jquery.ui.progressbar.css', |
140 | 183 | 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.progressbar.css', |
141 | 184 | ), |
142 | | - 'needs' => array( 'jquery.ui.core' ), |
143 | 185 | ), |
144 | | - 'jquery.ui.resizable' => array( |
145 | | - 'script' => 'resources/jquery/ui/jquery.ui.resizable.js', |
146 | | - 'themes' => array( |
147 | | - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.resizable.css', |
148 | | - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.resizable.css', |
149 | | - ), |
150 | | - 'needs' => array( 'jquery.ui.core' ), |
| 186 | + // Effects |
| 187 | + 'jquery.effects.core' => array( |
| 188 | + 'script' => 'resources/jquery/effects/jquery.effects.core.js', |
| 189 | + 'needs' => array( 'jquery' ), |
151 | 190 | ), |
152 | | - 'jquery.ui.selectable' => array( |
153 | | - 'script' => 'resources/jquery/ui/jquery.ui.selectable.js', |
154 | | - 'themes' => array( |
155 | | - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.selectable.css', |
156 | | - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.selectable.css', |
157 | | - ), |
158 | | - 'needs' => array( 'jquery.ui.core' ), |
159 | | - ), |
160 | | - 'jquery.ui.slider' => array( |
161 | | - 'script' => 'resources/jquery/ui/jquery.ui.slider.js', |
162 | | - 'themes' => array( |
163 | | - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.slider.css', |
164 | | - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.slider.css', |
165 | | - ), |
166 | | - 'needs' => array( 'jquery.ui.core' ), |
167 | | - ), |
168 | | - 'jquery.ui.sortable' => array( |
169 | | - 'script' => 'resources/jquery/ui/jquery.ui.sortable.js', |
170 | | - 'needs' => array( 'jquery.ui.core' ), |
171 | | - ), |
172 | | - 'jquery.ui.tabs' => array( |
173 | | - 'script' => 'resources/jquery/ui/jquery.ui.tabs.js', |
174 | | - 'themes' => array( |
175 | | - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.tabs.css', |
176 | | - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.tabs.css', |
177 | | - ), |
178 | | - 'needs' => array( 'jquery.ui.core' ), |
179 | | - ), |
180 | | - 'jquery.ui.widget' => array( |
181 | | - 'script' => 'resources/jquery/ui/jquery.ui.widget.js', |
182 | | - 'needs' => array( 'jquery.ui.core' ), |
183 | | - ), |
184 | | - // Effects |
185 | 191 | 'jquery.effects.blind' => array( |
186 | 192 | 'script' => 'resources/jquery/effects/jquery.effects.blind.js', |
187 | | - 'needs' => array( 'jquery' ), |
| 193 | + 'needs' => array( 'jquery.effects.core' ), |
188 | 194 | ), |
189 | 195 | 'jquery.effects.bounce' => array( |
190 | 196 | 'script' => 'resources/jquery/effects/jquery.effects.bounce.js', |
191 | | - 'needs' => array( 'jquery' ), |
| 197 | + 'needs' => array( 'jquery.effects.core' ), |
192 | 198 | ), |
193 | 199 | 'jquery.effects.clip' => array( |
194 | 200 | 'script' => 'resources/jquery/effects/jquery.effects.clip.js', |
195 | | - 'needs' => array( 'jquery' ), |
| 201 | + 'needs' => array( 'jquery.effects.core' ), |
196 | 202 | ), |
197 | | - 'jquery.effects.core' => array( |
198 | | - 'script' => 'resources/jquery/effects/jquery.effects.core.js', |
199 | | - 'needs' => array( 'jquery' ), |
200 | | - ), |
201 | 203 | 'jquery.effects.drop' => array( |
202 | 204 | 'script' => 'resources/jquery/effects/jquery.effects.drop.js', |
203 | | - 'needs' => array( 'jquery' ), |
| 205 | + 'needs' => array( 'jquery.effects.core' ), |
204 | 206 | ), |
205 | 207 | 'jquery.effects.explode' => array( |
206 | 208 | 'script' => 'resources/jquery/effects/jquery.effects.explode.js', |
207 | | - 'needs' => array( 'jquery' ), |
| 209 | + 'needs' => array( 'jquery.effects.core' ), |
208 | 210 | ), |
209 | 211 | 'jquery.effects.fold' => array( |
210 | 212 | 'script' => 'resources/jquery/effects/jquery.effects.fold.js', |
211 | | - 'needs' => array( 'jquery' ), |
| 213 | + 'needs' => array( 'jquery.effects.core' ), |
212 | 214 | ), |
213 | 215 | 'jquery.effects.highlight' => array( |
214 | 216 | 'script' => 'resources/jquery/effects/jquery.effects.highlight.js', |
215 | | - 'needs' => array( 'jquery' ), |
| 217 | + 'needs' => array( 'jquery.effects.core' ), |
216 | 218 | ), |
217 | 219 | 'jquery.effects.pulsate' => array( |
218 | 220 | 'script' => 'resources/jquery/effects/jquery.effects.pulsate.js', |
219 | | - 'needs' => array( 'jquery' ), |
| 221 | + 'needs' => array( 'jquery.effects.core' ), |
220 | 222 | ), |
221 | 223 | 'jquery.effects.scale' => array( |
222 | 224 | 'script' => 'resources/jquery/effects/jquery.effects.scale.js', |
223 | | - 'needs' => array( 'jquery' ), |
| 225 | + 'needs' => array( 'jquery.effects.core' ), |
224 | 226 | ), |
225 | 227 | 'jquery.effects.shake' => array( |
226 | 228 | 'script' => 'resources/jquery/effects/jquery.effects.shake.js', |
227 | | - 'needs' => array( 'jquery' ), |
| 229 | + 'needs' => array( 'jquery.effects.core' ), |
228 | 230 | ), |
229 | 231 | 'jquery.effects.slide' => array( |
230 | 232 | 'script' => 'resources/jquery/effects/jquery.effects.slide.js', |
231 | | - 'needs' => array( 'jquery' ), |
| 233 | + 'needs' => array( 'jquery.effects.core' ), |
232 | 234 | ), |
233 | 235 | 'jquery.effects.transfer' => array( |
234 | 236 | 'script' => 'resources/jquery/effects/jquery.effects.transfer.js', |
235 | | - 'needs' => array( 'jquery' ), |
| 237 | + 'needs' => array( 'jquery.effects.core' ), |
236 | 238 | ), |
237 | 239 | |
238 | 240 | /* MediaWiki */ |