[fix] bump
parent
9b480dd19f
commit
6f0b378c19
|
@ -61,6 +61,7 @@ function jsonp(url, options) {
|
||||||
}
|
}
|
||||||
url += serialize(params);
|
url += serialize(params);
|
||||||
url = url.replace('?&', '?');
|
url = url.replace('?&', '?');
|
||||||
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
promise = new Promise(function (resolve, reject) {
|
promise = new Promise(function (resolve, reject) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "simple-jsonp-promise",
|
"name": "simple-jsonp-promise",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -54,6 +54,7 @@ function jsonp(url, options) {
|
||||||
if (!~url.indexOf('?')) { url += '?'; }
|
if (!~url.indexOf('?')) { url += '?'; }
|
||||||
url += serialize(params);
|
url += serialize(params);
|
||||||
url = url.replace('?&', '?');
|
url = url.replace('?&', '?');
|
||||||
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
promise = new Promise((resolve, reject) => {
|
promise = new Promise((resolve, reject) => {
|
||||||
|
|
Loading…
Reference in New Issue