I have an extension that affects wiki tables using JavaScript. In order for it 
to work, I need it to load *before* one of the core JS modules, 
jquery.tablesorter.
Is there a supported way to modify the ResourceLoader dependencies of 
jquery.tablesorter?

Effectively I want to do something like:

$r = getResourceLoader();
$r->moduleInfos['jquery.tablesorter']['dependencies'][] = 
'my.custom.extension.js';

before any JS modules actually get used.

Thanks,
DanB



  ________________________________
My email address has changed to [email protected]. Please update your address 
book.

Cimpress is the new name for Vistaprint NV, the world’s leader in mass 
customization. Read more about Cimpress at www.cimpress.com.

  ________________________________
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to