jQuery.telligent.evolution Utilities
This module adds support for generic utilities and site-specific configuration.
Methods
getBaseUrl
This returns the current absolute-to-root base URL for the site, with a trailing forward slash.
$.telligent.evolution.site.getBaseUrl()
getBaseUrl
This returns the current absolute-to-root base URL for the site, with a trailing forward slash, or an absolute URL if absolute is set to true.
$.telligent.evolution.site.getBaseUrl(absolute)
formatDate
Serializes a date properly for REST API usage
$.telligent.evolution.formatDate(date)
writeAuthorizationHeader
Allows for manually adding Security Tokens to an xmlHttpRequest before usage. This should not usually be necessary, as it is automatically called by the REST helpers.
$.telligent.evolution.writeAuthorizationHeader(xmlHttpRequest)
ensureRemoteUrlEncoding
Allows for manually ensuring URLs are encoded for use on sites accessing Evolution via remoting.
url = $.telligent.evolution.ensureRemoteUrlEncoding(url)