This module is responsible for general application service calls
- Source:
Methods
-
init()
-
Initializes class
- Source:
Fires:
- event:assignListeners()
-
assignListeners()
-
Assigns listeners to events used in this class.
- Source:
Listens to Events:
- event:EVENT_TEST_MODE_STATE_CHANGE
- event:EVENT_ADMIN_GOT_MANIFEST
-
getReturnObj()
-
Returns generic return object
- Source:
Returns:
- Type
- Object
Example
{ "status": "ok", "data": -1 } -
sendAnalytics(formData)
-
Sends an analytic data using JSON services node configuration
Parameters:
Name Type Description formDataObject Analytic form data
- Source:
-
loadProjectJson(filename, callback)
-
Loads the project json that overrides the core-config.json
Parameters:
Name Type Description filenameString File name
callbackfunction Callback function
- Source:
Returns:
- Type
- callback(JSON)
-
onGotManifest(data)
-
Stores received manifest data
Parameters:
Name Type Description dataObject Manifest data
- Source: