Global

Methods

getRequestError(jqXHR, textStatus, errorThrown)

Get the most informative error from the server response from a jquery server request.
Parameters:
Name Type Description
jqXHR
textStatus
errorThrown
Source:

offerDataForDownload(filename, data, type)

Offer data as download in the browser.
Parameters:
Name Type Description
filename string the name of the file to be downloaded
data * the data
type string the MIME type of the data, e.g. 'text/csv' or 'application/json'
Source: