Login
Create account
In the js/ directory of your module, create a file called plugin.js. You can then define JavaScript functions in this file, e.g.:
module_class_name.functionName = function(param1, param2, ...) { //Your JavaScript code }