Methods
-
jMod(args)
F:/Projects/jMod/main/bin/jMod.full.js, line 207 -
Calls jMod._call with the given arguments
Name Type Description argsobject 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 urlstring | URLBuilder URL to send the request to methodstring <optional>
XMLHTTPRequest Method to use (jQuery|XMLHTTPRequest|JSONP) responseTypestring <optional>
json Data type being returned callbackSendMessageResponseCallback Callback function or function name onerrorfunction 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 dateobject Date object nowobject Current Date Object millisecondsnumber Milliseconds since date minutesnumber Minutes since date hoursnumber Hours since date daysnumber Days since date