You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
366 B
10 lines
366 B
2 years ago
|
var isBrowser = require('./isBrowser');
|
||
|
var mediaQuery =
|
||
|
'(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)';
|
||
|
exports =
|
||
|
isBrowser &&
|
||
|
(window.devicePixelRatio > 1.25 ||
|
||
|
(window.matchMedia && window.matchMedia(mediaQuery).matches));
|
||
|
|
||
|
module.exports = exports;
|