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");
16
16
*
17
17
* @signature `ajax( ajaxOptions )`
18
18
*
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/) .
20
20
*
21
- * ```
22
- * var ajax = require( "can-ajax") ;
21
+ * ```js
22
+ * import { ajax } from "can" ;
23
23
*
24
24
* ajax({
25
25
* url: "http://query.yahooapis.com/v1/public/yql",
@@ -52,8 +52,8 @@ var param = require("can-param");
52
52
* Is used to persist ajaxOptions across all ajax requests and they can be over-written in the ajaxOptions of the actual request.
53
53
* [https://api.jquery.com/jquery.ajaxsetup/]
54
54
*
55
- * ```
56
- * var ajax = require( "can-ajax") ;
55
+ * ```js
56
+ * import { ajax } from "can" ;
57
57
*
58
58
* ajax.ajaxSetup({xhrFields: {withCredentials: true}});
59
59
*
You can’t perform that action at this time.
0 commit comments