Make a X-Domain request to url and callback.
HTTP verb ("GET", "POST", "DELETE", etc.)
request body
to callback on completion
to callback on error
the incoming authorization token
The % operator in JavaScript returns the remainder of a / b, but differs from some other languages in that the result will have the same sign as the dividend. For example, -1 % 8 == -1, whereas in some other languages (such as Python) the result would be 7. This function emulates the more correct modulo behavior, which is useful for certain applications such as calculating an offset index in a circular list.
The dividend.
The divisor.
a % b where the result is between 0 and b (either 0 <= x < b or b < x <= 0, depending on the sign of b).
Zero pad
Generated using TypeDoc
Assert
Throws on false value