Community Forums › Forums › Archived Forums › General Discussion › superfish.min.map 404 (Not Found)
Tagged: superfish.min.map
- This topic has 5 replies, 3 voices, and was last updated 10 years, 4 months ago by Andrea Rennick.
-
AuthorPosts
-
August 28, 2014 at 10:00 pm #121630sangfroidwebParticipant
One of our sites has the error:
/wp-content/themes/genesis/lib/js/menu/superfish.min.map 404 (Not Found)
any idea what could cause this? I checked some other sites and none have that file in that path? I'm perplexed. If anyone can offer some advice I would be super thankful!
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
August 29, 2014 at 4:45 am #121657NickParticipantWhen you use the Chrome Developer Tools, Chrome tries to find a JavaScript sourcemap file for any minified JavaScript files included in your page. Sourcemaps are designed to help you debug minified JavaScript – they are purely a debugging tool designed to help you find problems with compressed JavaScript files; they're not needed for essential functions on the site.
The error won't affect regular visitors – they won't even see it unless they open Developer Tools in Chrome – so it's not something you should be worried about, but you can clear those errors if you wish by disabling JavaScript source maps in Chrome:
- Open the Developer Tools panel with View > Developer > Developer Tools
- Click the grey cog in the top right of the Developer Tools bar.
- Uncheck “Enable JavaScript Source maps”
Then close the options panel, refresh the page, and that error will not appear. If you never use Chrome to debug minified JavaScript, then this is the best option for you if you don't like to see errors related to min.map files when you work with Developer Tools.
The alternative would be to ask the Genesis core dev team to generate and include the
superfish.min.map
file in thelib/js/menu/
folder in a future release, but that's probably not necessary, as Genesis is starting to move away from Superfish anyway.August 29, 2014 at 4:49 am #121659NickParticipantWhen you use the Chrome Developer Tools, Chrome tries to locate a JavaScript sourcemap file for any minified JavaScript files included in your page. Sourcemaps are designed to help you debug minified JavaScript – they are purely a debugging tool designed to help you find problems with compressed JavaScript files; they're not needed for essential functions on the site.
The error won't affect regular visitors – they won't even see it unless they open Developer Tools in Chrome – so it's not something you should be worried about, but you can clear those errors if you wish by disabling JavaScript source maps in Chrome:
- Open the Developer Tools panel with View > Developer > Developer Tools
- Click the grey cog in the top right of the Developer Tools bar.
- Uncheck “Enable JavaScript Source maps”
Then close the options panel, refresh the page, and that error will not appear. If you never use Chrome to debug minified JavaScript, then this is the best option for you if you don't like to see errors related to min.map files when you work with Developer Tools.
The alternative would be to ask the Genesis core dev team to generate and include the
superfish.min.map
file in thelib/js/menu/
folder in a future release, but that's probably not necessary, as Genesis is starting to move away from Superfish anyway.August 29, 2014 at 10:53 am #121719sangfroidwebParticipantNick,
Allrighty!... glad to know I'm not crazy. I really appreciate you taking the time to explain that to me. Thanks!
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
August 31, 2014 at 5:41 am #121658NickParticipantWhen you use the Chrome Developer Tools, Chrome looks for a JavaScript sourcemap file for any minified JavaScript files included in your page. Sourcemaps are designed to help you debug minified JavaScript – they are purely a debugging tool designed to help you find problems with compressed JavaScript files; they're not needed for essential functions on the site.
The error won't affect regular visitors – they won't even see it unless they open Developer Tools in Chrome – so it's not something you should be worried about, but you can clear those errors if you wish by disabling JavaScript source maps in Chrome:
- Open the Developer Tools panel with View > Developer > Developer Tools
- Click the grey cog in the top right of the Developer Tools bar.
- Uncheck “Enable JavaScript Source maps”
Then close the options panel, refresh the page, and that error will not appear. If you never use Chrome to debug minified JavaScript, then this is the best option for you if you don't like to see errors related to min.map files when you work with Developer Tools.
The alternative would be to ask the Genesis core dev team to generate and include the
superfish.min.map
file in thelib/js/menu/
folder in a future release, but that's probably not necessary, as Genesis is starting to move away from Superfish anyway.August 31, 2014 at 5:42 am #122034Andrea RennickMemberWe've had tickets about this already. The weird part is Genesis does not call that file anywhere.
**forum signature**
If you need technical support for your theme please file a ticket.The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.