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/
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}