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