From 8b76ec5f7384be090b11e7178e47e7a58a3f1074 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Thu, 22 Aug 2013 09:45:14 +0000 Subject: [PATCH] omit the line sourceMappingURL=jquery.*map in mkws-complete.js The commented out line sourceMappingURL will force modern browsers (FF23, Google Chrome) to fetch debug informations which does not exists on our side (how evil is that?) For more informations, see http://bugs.jquery.com/ticket/13274 http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/ --- tools/htdocs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/htdocs/Makefile b/tools/htdocs/Makefile index b0cfa24..bf8af85 100644 --- a/tools/htdocs/Makefile +++ b/tools/htdocs/Makefile @@ -45,7 +45,7 @@ pz2api-git-checkout: mkws-js ${MKWS_JS}: pz2api-check ${PZ2API_JS} mkws.js ( echo "/* created at: $$(date)"; \ echo " mkws.js GIT id: $$(git log mkws.js | head -n 1 | perl -npe 's,\S+\s+,,') */"; \ - curl -sSf ${JQUERY_URL}; \ + curl -sSf ${JQUERY_URL} | perl -npe 's,sourceMappingURL=jquery.*map,,'; \ cat ../../../libjs-pz2/pz2api.1.js mkws.js ) > ${MKWS_JS}.new mv -f ${MKWS_JS}.new ${MKWS_JS} -- 1.7.10.4