strues / retinajs

JavaScript, SCSS, Sass, Less, and Stylus helpers for rendering high-resolution image variants
http://retinajs.com
MIT License
4.42k stars 610 forks source link

(2.1.0) Not works on mobile IE10 #276

Open mxkeke opened 7 years ago

mxkeke commented 7 years ago

I returned back to the 1.3.0 version because 2.1.0 not works. Even the demo "/test/function/public/index.html" not view retina images (with the correct path to the retina.min.js file).

mxkeke commented 7 years ago

I've missed to insert this script code: retinajs(); Now it works but on App of Windows Phone not view the images with high resolution. Maybe there's a bug in the mobile IE10.

For other situations I've used this code but with retinajs not works: window.devicePixelRatio = window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI;