7

I use jquery-1.10.1.min.js, downloaded from http://jquery.com/download/, but when I load my webpage it gives the error .../jquery-1.10.1.min.map 404 (Not Found).

What is wrong? Is there any additional file that needs to be included in the project? Please advise.

nietonfir
  • 4,797
  • 6
  • 31
  • 43
hima
  • 610
  • 3
  • 10
  • 24
  • 1
    Take a look here http://stackoverflow.com/questions/18365315/jquerys-jquery-1-10-2-min-map-is-triggering-a-404-not-found – Irvin Dominin Sep 23 '13 at 09:50
  • 3
    This error is only shown when you open the console, remove the second comment in the jquery source it will fix it //@ sourceMappingURL=jquery-1.10.2.min.map – Patsy Issa Sep 23 '13 at 10:05

1 Answers1

12

You can use the map file for debugging purposes in the console of any modern browser and don't need to include the unminified version of jquery.

If you don't need it, simply remove sourceMappingURL in the jquery file, otherwise you can download the map file on jquery.com.

nietonfir
  • 4,797
  • 6
  • 31
  • 43