resolve issue with missing vite-plugin-node-polyfills
add LibreJS licenses to all demo JS split browser build from node build add copyright info to license files update to use yarn v4.13.0 update to v0.9.2
This commit is contained in:
7
dist-demo/demo/browser-detection.js
Normal file
7
dist-demo/demo/browser-detection.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt
|
||||
|
||||
const isGecko = !!navigator.userAgent.match(/gecko/i);
|
||||
|
||||
if (isGecko) document.body.classList.add("isGecko");
|
||||
|
||||
// @license-end
|
||||
Reference in New Issue
Block a user