ember-app-scheduler
Version:
Ember addon to schedule work at different phases of app life cycle.
16 lines (14 loc) • 329 B
JavaScript
import AjaxRequest from './ajax-request';
/**
* Same as `request` except it resolves an object with
*
* {response, textStatus, jqXHR}
*
* Useful if you need access to the jqXHR object for headers, etc.
*
* @public
*/
export default function raw() {
const ajax = new AjaxRequest();
return ajax.raw(...arguments);
}