Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
18 lines
419 B
TypeScript
18 lines
419 B
TypeScript
// Module ID: 9320
|
|
// Function ID: 9321
|
|
// Name: utils/getDevicePixelRatio
|
|
// Dependencies: [2]
|
|
// Exports: default
|
|
|
|
// Module 9320 (utils/getDevicePixelRatio)
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("utils/getDevicePixelRatio.web.tsx");
|
|
|
|
export default function getDevicePixelRatio() {
|
|
let num = window.devicePixelRatio;
|
|
if (num == null) {
|
|
num = 1;
|
|
}
|
|
return num;
|
|
};
|