Global

Methods

jMod(args)

F:/Projects/jMod/main/bin/jMod.full.js, line 207
Calls jMod._call with the given arguments
Name Type Description
args object repeatable Input Arguments
Tutorials:
Example
// Get the current value of script.username
jMod('get', 'script.username')

Type Definitions

SendMessageDataObject

Properties:
Name Type Argument Default Description
url string | URLBuilder URL to send the request to
method string <optional>
XMLHTTPRequest Method to use (jQuery|XMLHTTPRequest|JSONP)
responseType string <optional>
json Data type being returned
callback SendMessageResponseCallback Callback function or function name
onerror function Callback function or function name to handle errors

SendMessageResponseCallback(responseObject, responseData)

F:/Projects/jMod/main/bin/jMod.full.js, line 8754
This callback is displayed as part of the Requester class.
Name Type Description
responseObject * The object returned from the server
responseData * repeatable Other response data depending on the method used
  • XMLHTTPRequest - responseObj The original XMLHTTPRequest response object
  • jQuery - textStatus, jqXHR
  • JSONP - currentScript The value of document.currentScript (also the this value for callback)

TimeDiffobject

Properties:
Name Type Description
date object Date object
now object Current Date Object
milliseconds number Milliseconds since date
minutes number Minutes since date
hours number Hours since date
days number Days since date