From 9b56eea2d99904046357695484ac99d35ddf822a Mon Sep 17 00:00:00 2001 From: Cam Song Date: Tue, 29 Aug 2017 14:08:31 +0800 Subject: [PATCH] release 1.1.2 --- build/fetch-jsonp.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/fetch-jsonp.js b/build/fetch-jsonp.js index 35bd445..065af6d 100644 --- a/build/fetch-jsonp.js +++ b/build/fetch-jsonp.js @@ -86,6 +86,7 @@ clearFunction(callbackFunction); removeScript(scriptId); + window[callbackFunction] = function () {}; }, timeout); // Caught if got 404/500 diff --git a/package.json b/package.json index 26d6c64..4d5a4fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fetch-jsonp", - "version": "1.1.1", + "version": "1.1.2", "description": "Fetch JSONP like a boss using Fetch API", "main": "build/fetch-jsonp.js", "scripts": {