- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
16 lines
723 B
JavaScript
16 lines
723 B
JavaScript
/* eslint-disable no-restricted-globals */
|
|
const globals = {
|
|
self: typeof self !== 'undefined' && self,
|
|
window: typeof window !== 'undefined' && window,
|
|
global: typeof global !== 'undefined' && global,
|
|
document: typeof document !== 'undefined' && document,
|
|
process: typeof process === 'object' && process
|
|
};
|
|
const global_ = globalThis;
|
|
const self_ = globals.self || globals.window || globals.global;
|
|
const window_ = globals.window || globals.self || globals.global;
|
|
const document_ = globals.document || {};
|
|
const process_ = globals.process || {};
|
|
const console_ = console;
|
|
export { self_ as self, window_ as window, global_ as global, document_ as document, process_ as process, console_ as console };
|