Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: calvinmetcalf/leaflet-ajax
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 59be1a40ca2d0d9b3dca56ceac11fbfa69b4e410
Choose a base ref
..
head repository: calvinmetcalf/leaflet-ajax
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2b1faf7434f658e05635acf50b1ba6e1ac934609
Choose a head ref
Showing with 1 addition and 3 deletions.
  1. +0 −1 dist/leaflet.ajax.js
  2. +1 −1 dist/leaflet.ajax.min.js
  3. +0 −1 src/ajax.js
1 change: 0 additions & 1 deletion dist/leaflet.ajax.js
Original file line number Diff line number Diff line change
@@ -349,7 +349,6 @@ module.exports = function (url, options) {
request.open('GET', url);
if (options.headers) {
Object.keys(options.headers).forEach(function (key) {
request.withCredentials = true;
request.setRequestHeader(key, options.headers[key]);
});
}
2 changes: 1 addition & 1 deletion dist/leaflet.ajax.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/ajax.js
Original file line number Diff line number Diff line change
@@ -19,7 +19,6 @@ module.exports = function (url, options) {
request.open('GET', url);
if (options.headers) {
Object.keys(options.headers).forEach(function (key) {
request.withCredentials = true;
request.setRequestHeader(key, options.headers[key]);
});
}