From: Wolfram Schneider Date: Thu, 22 Aug 2013 09:45:14 +0000 (+0000) Subject: omit the line sourceMappingURL=jquery.*map in mkws-complete.js X-Git-Tag: 0.9.1~236^2 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=8b76ec5f7384be090b11e7178e47e7a58a3f1074;p=mkws-moved-to-github.git 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/ --- 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}