Comparing version 1.4.0 to 1.4.1
@@ -88,5 +88,8 @@ var Bequest = (function () { | ||
serializedData = Ajax.serialize(data); | ||
var join = url.indexOf('?') > -1 ? '&' : '?'; | ||
url = url + join + serializedData; | ||
} | ||
Ajax.request(url, 'GET', serializedData, headers, callback); | ||
Ajax.request(url, 'GET', null, headers, callback); | ||
} | ||
@@ -93,0 +96,0 @@ }, { |
@@ -29,5 +29,8 @@ /* eslint-env browser */ | ||
serializedData = Ajax.serialize(data); | ||
const join = url.indexOf('?') > -1 ? '&' : '?'; | ||
url = url + join + serializedData; | ||
} | ||
Ajax.request(url, 'GET', serializedData, headers, callback); | ||
Ajax.request(url, 'GET', null, headers, callback); | ||
} | ||
@@ -34,0 +37,0 @@ |
{ | ||
"name": "bequest", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "An ajax class", | ||
@@ -35,3 +35,3 @@ "main": "dist/ajax.js", | ||
"eslint-config-firstandthird": "3.2.0", | ||
"eslint-plugin-import": "2.2.0", | ||
"eslint-plugin-import": "2.7.0", | ||
"scriptkit": "0.2.0" | ||
@@ -38,0 +38,0 @@ }, |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
32915
14
297
0