[fix] build
parent
786e0bf7ec
commit
2ae82c15f8
|
@ -46,7 +46,7 @@ function jsonp(url, options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function serialize(params) {
|
function serialize(params) {
|
||||||
var param = '';
|
var param = '?';
|
||||||
for (var key in params) {
|
for (var key in params) {
|
||||||
if (params.hasOwnProperty(key)) {
|
if (params.hasOwnProperty(key)) {
|
||||||
param += '&' + key + '=' + encodeURIComponent(params[key]);
|
param += '&' + key + '=' + encodeURIComponent(params[key]);
|
||||||
|
|
Loading…
Reference in New Issue