On 15 Jan 2015, at 09:29, Daniel Barrett danb@cimpress.com wrote:
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
You shouldn't have to do that.
What is your code doing to jQuery Tablesorter? Where do you intend to reference/use that additional code?
-- Krinkle