r71610 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71609‎ | r71610 | r71611 >
Date:01:08, 25 August 2010
Author:catrope
Status:deferred
Tags:
Comment:
resourceloader: Complete rename of module fields by also renaming the fields in the array format
Modified paths:
  • /branches/resourceloader/phase3/includes/ResourceLoaderModule.php (modified) (history)
  • /branches/resourceloader/phase3/resources/Resources.php (modified) (history)

Diff [purge]

Index: branches/resourceloader/phase3/includes/ResourceLoaderModule.php
@@ -47,28 +47,28 @@
4848 public function __construct( $options = array() ) {
4949 foreach ( $options as $option => $value ) {
5050 switch ( $option ) {
51 - case 'script':
 51+ case 'scripts':
5252 $this->scripts = (array)$value;
5353 break;
54 - case 'style':
 54+ case 'styles':
5555 $this->styles = $value;
5656 break;
5757 case 'messages':
5858 $this->messages = $value;
5959 break;
60 - case 'needs':
 60+ case 'dependencies':
6161 $this->dependencies = $value;
6262 break;
63 - case 'debug':
 63+ case 'debugScripts':
6464 $this->debugScripts = (array)$value;
6565 break;
66 - case 'locales':
 66+ case 'languageScripts':
6767 $this->languageScripts = (array)$value;
6868 break;
69 - case 'themes':
 69+ case 'skinStyles':
7070 $this->skinStyles = (array)$value;
7171 break;
72 - case 'loader':
 72+ case 'loaders':
7373 $this->loaders = (array)$value;
7474 break;
7575 case 'raw':
Index: branches/resourceloader/phase3/resources/Resources.php
@@ -7,19 +7,19 @@
88
99 /* jQuery */
1010
11 - 'jquery' => array( 'script' => 'resources/jquery/jquery.js', 'raw' => true ),
 11+ 'jquery' => array( 'scripts' => 'resources/jquery/jquery.js', 'raw' => true ),
1212
1313 /* jQuery Plugins */
1414
15 - 'jquery.tabIndex' => array( 'script' => 'resources/jquery/jquery.tabIndex.js' ),
16 - 'jquery.cookie' => array( 'script' => 'resources/jquery/jquery.cookie.js' ),
 15+ 'jquery.tabIndex' => array( 'scripts' => 'resources/jquery/jquery.tabIndex.js' ),
 16+ 'jquery.cookie' => array( 'scripts' => 'resources/jquery/jquery.cookie.js' ),
1717
1818 /* jQuery UI */
1919
2020 // Core
2121 'jquery.ui.core' => array(
22 - 'script' => 'resources/jquery/ui/jquery.ui.core.js',
23 - 'themes' => array(
 22+ 'scripts' => 'resources/jquery/ui/jquery.ui.core.js',
 23+ 'skinStyles' => array(
2424 'default' => array(
2525 'resources/jquery/ui/themes/default/jquery.ui.core.css',
2626 'resources/jquery/ui/themes/default/jquery.ui.theme.css',
@@ -29,82 +29,82 @@
3030 'resources/jquery/ui/themes/vector/jquery.ui.theme.css',
3131 ),
3232 ),
33 - 'needs' => 'jquery',
 33+ 'dependencies' => 'jquery',
3434 ),
3535 'jquery.ui.widget' => array(
36 - 'script' => 'resources/jquery/ui/jquery.ui.widget.js',
37 - 'needs' => 'jquery.ui.core',
 36+ 'scripts' => 'resources/jquery/ui/jquery.ui.widget.js',
 37+ 'dependencies' => 'jquery.ui.core',
3838 ),
3939 'jquery.ui.mouse' => array(
40 - 'script' => 'resources/jquery/ui/jquery.ui.mouse.js',
41 - 'needs' => 'jquery',
 40+ 'scripts' => 'resources/jquery/ui/jquery.ui.mouse.js',
 41+ 'dependencies' => 'jquery',
4242 ),
4343 'jquery.ui.position' => array(
44 - 'script' => 'resources/jquery/ui/jquery.ui.position.js',
45 - 'needs' => 'jquery',
 44+ 'scripts' => 'resources/jquery/ui/jquery.ui.position.js',
 45+ 'dependencies' => 'jquery',
4646 ),
4747 // Interactions
4848 'jquery.ui.draggable' => array(
49 - 'script' => 'resources/jquery/ui/jquery.ui.draggable.js',
50 - 'needs' => 'jquery.ui.core',
 49+ 'scripts' => 'resources/jquery/ui/jquery.ui.draggable.js',
 50+ 'dependencies' => 'jquery.ui.core',
5151 ),
5252 'jquery.ui.droppable' => array(
53 - 'script' => 'resources/jquery/ui/jquery.ui.droppable.js',
54 - 'needs' => array( 'jquery.ui.core', 'jquery.ui.draggable' ),
 53+ 'scripts' => 'resources/jquery/ui/jquery.ui.droppable.js',
 54+ 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.draggable' ),
5555 ),
5656 'jquery.ui.resizable' => array(
57 - 'script' => 'resources/jquery/ui/jquery.ui.resizable.js',
58 - 'themes' => array(
 57+ 'scripts' => 'resources/jquery/ui/jquery.ui.resizable.js',
 58+ 'skinStyles' => array(
5959 'default' => 'resources/jquery/ui/themes/default/jquery.ui.resizable.css',
6060 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.resizable.css',
6161 ),
62 - 'needs' => 'jquery.ui.core',
 62+ 'dependencies' => 'jquery.ui.core',
6363 ),
6464 'jquery.ui.selectable' => array(
65 - 'script' => 'resources/jquery/ui/jquery.ui.selectable.js',
66 - 'themes' => array(
 65+ 'scripts' => 'resources/jquery/ui/jquery.ui.selectable.js',
 66+ 'skinStyles' => array(
6767 'default' => 'resources/jquery/ui/themes/default/jquery.ui.selectable.css',
6868 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.selectable.css',
6969 ),
70 - 'needs' => 'jquery.ui.core',
 70+ 'dependencies' => 'jquery.ui.core',
7171 ),
7272 'jquery.ui.sortable' => array(
73 - 'script' => 'resources/jquery/ui/jquery.ui.sortable.js',
74 - 'needs' => 'jquery.ui.core',
 73+ 'scripts' => 'resources/jquery/ui/jquery.ui.sortable.js',
 74+ 'dependencies' => 'jquery.ui.core',
7575 ),
7676 // Widgets
7777 'jquery.ui.accordion' => array(
78 - 'script' => 'resources/jquery/ui/jquery.ui.accordion.js',
79 - 'needs' => 'jquery.ui.core',
80 - 'themes' => array(
 78+ 'scripts' => 'resources/jquery/ui/jquery.ui.accordion.js',
 79+ 'dependencies' => 'jquery.ui.core',
 80+ 'skinStyles' => array(
8181 'default' => 'resources/jquery/ui/themes/default/jquery.ui.accordion.css',
8282 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.accordion.css',
8383 ),
8484 ),
8585 'jquery.ui.autocomplete' => array(
86 - 'script' => 'resources/jquery/ui/jquery.ui.autocomplete.js',
87 - 'needs' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
88 - 'themes' => array(
 86+ 'scripts' => 'resources/jquery/ui/jquery.ui.autocomplete.js',
 87+ 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
 88+ 'skinStyles' => array(
8989 'default' => 'resources/jquery/ui/themes/default/jquery.ui.autocomplete.css',
9090 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.autocomplete.css',
9191 ),
9292 ),
9393 'jquery.ui.button' => array(
94 - 'script' => 'resources/jquery/ui/jquery.ui.button.js',
95 - 'needs' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
96 - 'themes' => array(
 94+ 'scripts' => 'resources/jquery/ui/jquery.ui.button.js',
 95+ 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
 96+ 'skinStyles' => array(
9797 'default' => 'resources/jquery/ui/themes/default/jquery.ui.button.css',
9898 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.button.css',
9999 ),
100100 ),
101101 'jquery.ui.datepicker' => array(
102 - 'script' => 'resources/jquery/ui/jquery.ui.datepicker.js',
103 - 'needs' => 'jquery.ui.core',
104 - 'themes' => array(
 102+ 'scripts' => 'resources/jquery/ui/jquery.ui.datepicker.js',
 103+ 'dependencies' => 'jquery.ui.core',
 104+ 'skinStyles' => array(
105105 'default' => 'resources/jquery/ui/themes/default/jquery.ui.datepicker.css',
106106 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.datepicker.css',
107107 ),
108 - 'locales' => array(
 108+ 'languageScripts' => array(
109109 'af' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-af.js',
110110 'ar' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-ar.js',
111111 'az' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-az.js',
@@ -160,216 +160,216 @@
161161 ),
162162 ),
163163 'jquery.ui.dialog' => array(
164 - 'script' => 'resources/jquery/ui/jquery.ui.dialog.js',
165 - 'needs' => 'jquery.ui.core',
166 - 'themes' => array(
 164+ 'scripts' => 'resources/jquery/ui/jquery.ui.dialog.js',
 165+ 'dependencies' => 'jquery.ui.core',
 166+ 'skinStyles' => array(
167167 'default' => 'resources/jquery/ui/themes/default/jquery.ui.dialog.css',
168168 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.dialog.css',
169169 ),
170170 ),
171171 'jquery.ui.progressbar' => array(
172 - 'script' => 'resources/jquery/ui/jquery.ui.progressbar.js',
173 - 'needs' => 'jquery.ui.core',
174 - 'themes' => array(
 172+ 'scripts' => 'resources/jquery/ui/jquery.ui.progressbar.js',
 173+ 'dependencies' => 'jquery.ui.core',
 174+ 'skinStyles' => array(
175175 'default' => 'resources/jquery/ui/themes/default/jquery.ui.progressbar.css',
176176 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.progressbar.css',
177177 ),
178178 ),
179179 'jquery.ui.slider' => array(
180 - 'script' => 'resources/jquery/ui/jquery.ui.slider.js',
181 - 'needs' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
182 - 'themes' => array(
 180+ 'scripts' => 'resources/jquery/ui/jquery.ui.slider.js',
 181+ 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
 182+ 'skinStyles' => array(
183183 'default' => 'resources/jquery/ui/themes/default/jquery.ui.slider.css',
184184 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.slider.css',
185185 ),
186186 ),
187187 'jquery.ui.tabs' => array(
188 - 'script' => 'resources/jquery/ui/jquery.ui.tabs.js',
189 - 'needs' => 'jquery.ui.core',
190 - 'themes' => array(
 188+ 'scripts' => 'resources/jquery/ui/jquery.ui.tabs.js',
 189+ 'dependencies' => 'jquery.ui.core',
 190+ 'skinStyles' => array(
191191 'default' => 'resources/jquery/ui/themes/default/jquery.ui.tabs.css',
192192 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.tabs.css',
193193 ),
194194 ),
195195 // Effects
196196 'jquery.effects.core' => array(
197 - 'script' => 'resources/jquery/effects/jquery.effects.core.js',
198 - 'needs' => 'jquery',
 197+ 'scripts' => 'resources/jquery/effects/jquery.effects.core.js',
 198+ 'dependencies' => 'jquery',
199199 ),
200200 'jquery.effects.blind' => array(
201 - 'script' => 'resources/jquery/effects/jquery.effects.blind.js',
202 - 'needs' => 'jquery.effects.core',
 201+ 'scripts' => 'resources/jquery/effects/jquery.effects.blind.js',
 202+ 'dependencies' => 'jquery.effects.core',
203203 ),
204204 'jquery.effects.bounce' => array(
205 - 'script' => 'resources/jquery/effects/jquery.effects.bounce.js',
206 - 'needs' => 'jquery.effects.core',
 205+ 'scripts' => 'resources/jquery/effects/jquery.effects.bounce.js',
 206+ 'dependencies' => 'jquery.effects.core',
207207 ),
208208 'jquery.effects.clip' => array(
209 - 'script' => 'resources/jquery/effects/jquery.effects.clip.js',
210 - 'needs' => 'jquery.effects.core',
 209+ 'scripts' => 'resources/jquery/effects/jquery.effects.clip.js',
 210+ 'dependencies' => 'jquery.effects.core',
211211 ),
212212 'jquery.effects.drop' => array(
213 - 'script' => 'resources/jquery/effects/jquery.effects.drop.js',
214 - 'needs' => 'jquery.effects.core',
 213+ 'scripts' => 'resources/jquery/effects/jquery.effects.drop.js',
 214+ 'dependencies' => 'jquery.effects.core',
215215 ),
216216 'jquery.effects.explode' => array(
217 - 'script' => 'resources/jquery/effects/jquery.effects.explode.js',
218 - 'needs' => 'jquery.effects.core',
 217+ 'scripts' => 'resources/jquery/effects/jquery.effects.explode.js',
 218+ 'dependencies' => 'jquery.effects.core',
219219 ),
220220 'jquery.effects.fold' => array(
221 - 'script' => 'resources/jquery/effects/jquery.effects.fold.js',
222 - 'needs' => 'jquery.effects.core',
 221+ 'scripts' => 'resources/jquery/effects/jquery.effects.fold.js',
 222+ 'dependencies' => 'jquery.effects.core',
223223 ),
224224 'jquery.effects.highlight' => array(
225 - 'script' => 'resources/jquery/effects/jquery.effects.highlight.js',
226 - 'needs' => 'jquery.effects.core',
 225+ 'scripts' => 'resources/jquery/effects/jquery.effects.highlight.js',
 226+ 'dependencies' => 'jquery.effects.core',
227227 ),
228228 'jquery.effects.pulsate' => array(
229 - 'script' => 'resources/jquery/effects/jquery.effects.pulsate.js',
230 - 'needs' => 'jquery.effects.core',
 229+ 'scripts' => 'resources/jquery/effects/jquery.effects.pulsate.js',
 230+ 'dependencies' => 'jquery.effects.core',
231231 ),
232232 'jquery.effects.scale' => array(
233 - 'script' => 'resources/jquery/effects/jquery.effects.scale.js',
234 - 'needs' => 'jquery.effects.core',
 233+ 'scripts' => 'resources/jquery/effects/jquery.effects.scale.js',
 234+ 'dependencies' => 'jquery.effects.core',
235235 ),
236236 'jquery.effects.shake' => array(
237 - 'script' => 'resources/jquery/effects/jquery.effects.shake.js',
238 - 'needs' => 'jquery.effects.core',
 237+ 'scripts' => 'resources/jquery/effects/jquery.effects.shake.js',
 238+ 'dependencies' => 'jquery.effects.core',
239239 ),
240240 'jquery.effects.slide' => array(
241 - 'script' => 'resources/jquery/effects/jquery.effects.slide.js',
242 - 'needs' => 'jquery.effects.core',
 241+ 'scripts' => 'resources/jquery/effects/jquery.effects.slide.js',
 242+ 'dependencies' => 'jquery.effects.core',
243243 ),
244244 'jquery.effects.transfer' => array(
245 - 'script' => 'resources/jquery/effects/jquery.effects.transfer.js',
246 - 'needs' => 'jquery.effects.core',
 245+ 'scripts' => 'resources/jquery/effects/jquery.effects.transfer.js',
 246+ 'dependencies' => 'jquery.effects.core',
247247 ),
248248
249249 /* MediaWiki */
250250
251251 'mediawiki' => array(
252 - 'script' => 'resources/mediawiki/mediawiki.js',
253 - 'debug' => 'resources/mediawiki/mediawiki.log.js',
 252+ 'scripts' => 'resources/mediawiki/mediawiki.js',
 253+ 'debugScripts' => 'resources/mediawiki/mediawiki.log.js',
254254 'raw' => true,
255255 ),
256256
257257 /* MediaWiki Legacy */
258258
259259 'mediawiki.legacy.ajax' => array(
260 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.ajax.js',
261 - 'needs' => 'mediawiki',
 260+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.ajax.js',
 261+ 'dependencies' => 'mediawiki',
262262 ),
263263 'mediawiki.legacy.ajaxwatch' => array(
264 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.ajaxwatch.js',
265 - 'needs' => 'mediawiki',
 264+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.ajaxwatch.js',
 265+ 'dependencies' => 'mediawiki',
266266 ),
267267 'mediawiki.legacy.block' => array(
268 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.block.js',
269 - 'needs' => 'mediawiki',
 268+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.block.js',
 269+ 'dependencies' => 'mediawiki',
270270 ),
271271 'mediawiki.legacy.changepassword' => array(
272 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.changepassword.js',
273 - 'needs' => 'mediawiki',
 272+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.changepassword.js',
 273+ 'dependencies' => 'mediawiki',
274274 ),
275275 'mediawiki.legacy.edit' => array(
276 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.edit.js',
277 - 'needs' => 'mediawiki',
 276+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.edit.js',
 277+ 'dependencies' => 'mediawiki',
278278 ),
279279 'mediawiki.legacy.enhancedchanges' => array(
280 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.enhancedchanges.js',
281 - 'needs' => 'mediawiki',
 280+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.enhancedchanges.js',
 281+ 'dependencies' => 'mediawiki',
282282 ),
283283 'mediawiki.legacy.history' => array(
284 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.history.js',
285 - 'needs' => 'mediawiki',
 284+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.history.js',
 285+ 'dependencies' => 'mediawiki',
286286 ),
287287 'mediawiki.legacy.htmlform' => array(
288 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.htmlform.js',
289 - 'needs' => 'mediawiki',
 288+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.htmlform.js',
 289+ 'dependencies' => 'mediawiki',
290290 ),
291291 'mediawiki.legacy.IEFixes' => array(
292 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.IEFixes.js',
293 - 'needs' => 'mediawiki',
 292+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.IEFixes.js',
 293+ 'dependencies' => 'mediawiki',
294294 ),
295295 'mediawiki.legacy.metadata' => array(
296 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.metadata.js',
297 - 'needs' => 'mediawiki',
 296+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.metadata.js',
 297+ 'dependencies' => 'mediawiki',
298298 ),
299299 'mediawiki.legacy.mwsuggest' => array(
300 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.mwsuggest.js',
301 - 'needs' => 'mediawiki',
 300+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.mwsuggest.js',
 301+ 'dependencies' => 'mediawiki',
302302 ),
303303 'mediawiki.legacy.prefs' => array(
304 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.prefs.js',
305 - 'needs' => 'mediawiki',
 304+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.prefs.js',
 305+ 'dependencies' => 'mediawiki',
306306 ),
307307 'mediawiki.legacy.preview' => array(
308 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.preview.js',
309 - 'needs' => 'mediawiki',
 308+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.preview.js',
 309+ 'dependencies' => 'mediawiki',
310310 ),
311311 'mediawiki.legacy.protect' => array(
312 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.protect.js',
313 - 'needs' => 'mediawiki',
 312+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.protect.js',
 313+ 'dependencies' => 'mediawiki',
314314 ),
315315 'mediawiki.legacy.rightclickedit' => array(
316 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.rightclickedit.js',
317 - 'needs' => 'mediawiki',
 316+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.rightclickedit.js',
 317+ 'dependencies' => 'mediawiki',
318318 ),
319319 'mediawiki.legacy.search' => array(
320 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.search.js',
321 - 'needs' => 'mediawiki',
 320+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.search.js',
 321+ 'dependencies' => 'mediawiki',
322322 ),
323323 'mediawiki.legacy.upload' => array(
324 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.upload.js',
325 - 'needs' => 'mediawiki',
 324+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.upload.js',
 325+ 'dependencies' => 'mediawiki',
326326 ),
327327 'mediawiki.legacy.wikibits' => array(
328 - 'script' => 'resources/mediawiki/legacy/mediawiki.legacy.wikibits.js',
329 - 'needs' => 'mediawiki',
 328+ 'scripts' => 'resources/mediawiki/legacy/mediawiki.legacy.wikibits.js',
 329+ 'dependencies' => 'mediawiki',
330330 'messages' => array( 'showtoc', 'hidetoc' ),
331331 ),
332332
333333 /* MediaWiki Utilities */
334334
335335 'mediawiki.utilities.client' => array(
336 - 'script' => 'resources/mediawiki/utilities/mediawiki.utilities.client.js',
 336+ 'scripts' => 'resources/mediawiki/utilities/mediawiki.utilities.client.js',
337337 ),
338338
339339 /* MediaWiki Views */
340340
341341 'mediawiki.views.diff' => array(
342 - 'script' => 'resources/mediawiki/views/mediawiki.views.diff.js',
 342+ 'scripts' => 'resources/mediawiki/views/mediawiki.views.diff.js',
343343 ),
344344 'mediawiki.views.install' => array(
345 - 'script' => 'resources/mediawiki/views/mediawiki.views.install.js',
 345+ 'scripts' => 'resources/mediawiki/views/mediawiki.views.install.js',
346346 ),
347347
348348 /* Test */
349349
350350 'test' => array(
351 - 'script' => 'resources/test/test.js',
352 - 'needs' => 'foo',
353 - 'style' => 'resources/test/test.css',
 351+ 'scripts' => 'resources/test/test.js',
 352+ 'dependencies' => 'foo',
 353+ 'styles' => 'resources/test/test.css',
354354 ),
355355 'foo' => array(
356 - 'script' => 'resources/test/foo.js',
357 - 'needs' => 'bar',
358 - 'style' => 'resources/test/foo.css',
 356+ 'scripts' => 'resources/test/foo.js',
 357+ 'dependencies' => 'bar',
 358+ 'styles' => 'resources/test/foo.css',
359359 'messages' => array( 'january', 'february', 'march', 'april', 'may', 'june' ),
360360 ),
361361 'bar' => array(
362 - 'script' => 'resources/test/bar.js',
363 - 'needs' => 'buz',
364 - 'style' => 'resources/test/bar.css',
 362+ 'scripts' => 'resources/test/bar.js',
 363+ 'dependencies' => 'buz',
 364+ 'styles' => 'resources/test/bar.css',
365365 'messages' => array( 'july', 'august', 'september', 'october', 'november', 'december' ),
366366 ),
367367 'buz' => array(
368 - 'script' => 'resources/test/buz.js',
369 - 'needs' => 'baz',
370 - 'style' => 'resources/test/buz.css',
 368+ 'scripts' => 'resources/test/buz.js',
 369+ 'dependencies' => 'baz',
 370+ 'styles' => 'resources/test/buz.css',
371371 ),
372372 'baz' => array(
373 - 'script' => 'resources/test/baz.js',
374 - 'style' => 'resources/test/baz.css',
 373+ 'scripts' => 'resources/test/baz.js',
 374+ 'styles' => 'resources/test/baz.css',
375375 ),
376 -) );
\ No newline at end of file
 376+) );

Status & tagging log