Loading External JS via Modules
Jamroom Developers
You'll wanna look at the include.php of an existing module.
This code comes from the jrAction module. The file is jrAction.js. You would only change params 3 and 4.
jrCore_register_module_feature('jrCore', 'javascript', 'jrAction', 'jrAction.js');
You need to create a js directory in your module.
updated by @nate: 02/19/17 11:45:11AM