File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ var param = require("can-param");
1616 *
1717 * @signature `ajax( ajaxOptions )`
1818 *
19- * Is used to make an asynchronous HTTP (AJAX) request similar to [http://api.jquery.com/jQuery.ajax/jQuery.ajax] .
19+ * Is used to make an asynchronous HTTP (AJAX) request similar to [jQuery.ajax()]( http://api.jquery.com/jQuery.ajax/) .
2020 *
21- * ```
22- * var ajax = require( "can-ajax") ;
21+ * ```js
22+ * import { ajax } from "can" ;
2323 *
2424 * ajax({
2525 * url: "http://query.yahooapis.com/v1/public/yql",
@@ -52,8 +52,8 @@ var param = require("can-param");
5252 * Is used to persist ajaxOptions across all ajax requests and they can be over-written in the ajaxOptions of the actual request.
5353 * [https://api.jquery.com/jquery.ajaxsetup/]
5454 *
55- * ```
56- * var ajax = require( "can-ajax") ;
55+ * ```js
56+ * import { ajax } from "can" ;
5757 *
5858 * ajax.ajaxSetup({xhrFields: {withCredentials: true}});
5959 *
You can’t perform that action at this time.
0 commit comments