NOTE: Test must be performed in Firefox with FireBug add-on installed and Script tab activated
- for jQuery 1.11.3 version download (https://jquery.com/download/):
- it's minified version (file: jquery-1.11.3.min.js)
- the source map file matching downloaded minified file (file: jquery-1.11.3.min.map)
- place both downloaded files into any folder in theme
- add following line to the end of minified file: //# sourceMappingURL=jquery-1.11.3.min.map
- in any template place follwing code <script type="text/javascript" src="<inp2:m_TemplatesBase/>platform/inc/tmp/jquery-1.11.3.min.js"></script> (the platform/inc/tmp is where I downloaded them)
- reload the page for the browser to query minified file (make sure Firebug is opened on Scripting tab to ensure request for source map file as well)
- looking at web server logs confirm, that both files were requested by browser
- open debugger on loaded page and confirm, that it shows currently opened page as last visited
- rename source map file to something else (I've added _ in the front)
- reload the page and perform same assertions again (before reference to missing source map file would go through mod-rewrite, which would overwrite last opened page in the session)