Helper function that rejects a {@link dojo.Deferred}.
The {@link dojo.Deferred} to reject.
The result to invoke the deferred's reject callback with.
Helper function that resolves a {@link dojo.Deferred}.
The {@link dojo.Deferred} to resolve.
The result to invoke the deferred's resolve callback with.
Encodes an object in a format that is ready for serialization as URL parameters or a POST body.
The object to encode for serialization.
Determines if this web app is running inside the native app (GMAF).
A wrapper around dojo.io.script.get
and dojo.xhrPost
.
It will determine which one to use depending on the amount of data being sent.
The request options.
Detects whether a request requires the viewer proxy. This will return true if the request length is greater than the configured GET size limit, or if the request is to a different domain.
Creates a query object from a URL, creating object properties for any URL parameters found in the URL.
The url to convert.