Skip to content

Releases: canjs/can-ajax

Update the @parent

03 Nov 21:13
Compare
Choose a tag to compare

Updated docs in preparation for new sidebar

31 Oct 22:54
Compare
Choose a tag to compare

v1.1.0...v1.1.1

Implement ajaxSetup for reverse compatibility with $.ajaxSetup

11 Oct 15:26
Compare
Choose a tag to compare

Example usage

var ajax = require("can-ajax");
ajax.ajaxSetup({
  lang: "de"
});

Will set the language to German for each request generated by can-ajax.

The xhrFields option is also now available in calls to ajax.ajaxSetup() and ajax():

  ajax({
    type: "GET",
    url: "https://example.com/api/users",
    xhrFields: {
      withCredentials: true
    }
 });

Enables CORS for the cross-domain request.

v1.0.9

03 Oct 01:31
Compare
Choose a tag to compare
  • Upin can-globals version #14

v1.0.8...v1.0.9

v1.0.8

03 Oct 01:28
Compare
Choose a tag to compare
  • Upgrade can-globals to 0.2.x #11

v1.0.7...v1.0.8

Republishing 1.0.6

27 Sep 14:59
Compare
Choose a tag to compare

This is just republishing the previous release because a bug in npm caused the test/ folder to be excluded from the npm package.

v1.0.1

05 Sep 23:45
Compare
Choose a tag to compare