diff --git a/lib/core/Jsonp.ts b/lib/core/Jsonp.ts index c2dfb42..959e1f5 100644 --- a/lib/core/Jsonp.ts +++ b/lib/core/Jsonp.ts @@ -23,15 +23,15 @@ export default class Jsonp { url, jsonpCallback }) + this.initState({ + timeout, + jsonpCallback + }) this.encodeURL({ url, callbackParams, urlParams }) - this.initState({ - timeout, - jsonpCallback - }) this.insert(this._url) }