[fix] bump

pull/1/head
Ziqiang Li 2017-12-11 14:20:44 +08:00
parent 9b480dd19f
commit 6f0b378c19
3 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,7 @@ function jsonp(url, options) {
}
url += serialize(params);
url = url.replace('?&', '?');
return url;
}
promise = new Promise(function (resolve, reject) {

View File

@ -1,6 +1,6 @@
{
"name": "simple-jsonp-promise",
"version": "1.0.7",
"version": "1.0.8",
"description": "",
"main": "build/index.js",
"scripts": {

View File

@ -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) => {