404 from lightbox.min.map

SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
Getting errors like this in the activity log:
Quote: 404 Page not found: /data/cache/jrElastic/lightbox.min.map

At the bottom of this file /modules/jrCore/js/lightbox-2.7.1.min.js there is this line:
//# sourceMappingURL=lightbox.min.map
It can safely be deleted and the 404 errors will end.

I've had similar errors from bootstrap css which have been fixed by providing a full sourceMappingURL to the skin css dir to prevent it looking in /data/cache/

What the source map does is to allow better debugging and editing in firefox and chrome developer tools, but as far as I can see the map file isn't present in the core anyway.






--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 07/29/15 11:12:42AM
michael
@michael
10 years ago
7,793 posts
Not sure why the code is being executed. By all things I know that looks like its been commented out.... TWICE.

I'll get it rid of it. Thanks Steve.

Tags