Methods
(inner) _methods:get(url) → {object}
calls load with GET as method
Parameters:
| Name | Type | Description |
|---|---|---|
url |
string |
- Source:
Returns:
Promise
- Type
- object
(inner) _methods:load(method, url) → {object}
assertive version of load for DEBUG and USING
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 |
- Source:
Returns:
Promise
- Type
- object
(inner) _methods:post(url) → {object}
calls load with POST as method
Parameters:
| Name | Type | Description |
|---|---|---|
url |
string |
- Source:
Returns:
Promise
- Type
- object