UNPKG

ember-material-icons

Version:

Google Material icons for your ember-cli app

17 lines (15 loc) 472 B
import AjaxRequest from './ajax-request'; /** * Helper function that allows you to use the default `ember-ajax` to make * requests without using the service. * * Note: Unlike `ic-ajax`'s `request` helper function, this will *not* return a * jqXHR object in the error handler. If you need jqXHR, you can use the `raw` * function instead. * * @public */ export default function request() { const ajax = new AjaxRequest(); return ajax.request(...arguments); }