ocombe / ocLazyLoad

Lazy load modules & components in AngularJS
https://oclazyload.readme.io
MIT License
2.63k stars 510 forks source link

Preload images are 'not executable' #371

Open pensan opened 7 years ago

pensan commented 7 years ago

I get the following error when preloading an image:

Refused to execute script from 'http://[...].png' because its MIME type ('image/png') is not executable.

The file is preloaded as expected, but I would like to get rid of the error message.

Browser: Chromium Version 53.0.2785.143 Built on Ubuntu , running on Ubuntu 16.04 (64-bit)