UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

8 lines (7 loc) 170 B
const warnInsecureContext = (feature) => { if (typeof window === "undefined") return; if (window.isSecureContext !== false) return; }; export { warnInsecureContext };