Methods
(inner) _methodsAtom:get(url) → {object}
calls load with GET as method
Parameters:
| Name | Type | Description |
|---|---|---|
url |
string |
- Source:
Returns:
Promise
- Type
- object
(inner) _methodsAtom:load(method, url, xmit) → {object}
atom ( non assertive version of load ) basic load function that returns a Promise
taken from http://www.html5rocks.com/en/tutorials/es6/promises/
Parameters:
| Name | Type | Description |
|---|---|---|
method |
string | |
url |
string | |
xmit |
object | (optional) |
- Source:
Returns:
Promise
- Type
- object
(inner) _methodsAtom:post(url) → {object}
calls load with POST as method
Parameters:
| Name | Type | Description |
|---|---|---|
url |
string |
- Source:
Returns:
Promise
- Type
- object