ember-legacy-class-transform
Version:
The default blueprint for ember-cli addons.
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);
}