tgui => tgui_ch

This commit is contained in:
Selis
2023-06-19 19:41:48 +02:00
parent 8de94964df
commit 46a8782e5b
83 changed files with 3403 additions and 1399 deletions

View File

@@ -9,7 +9,11 @@ import { globalEvents } from '../events';
import { acquireHotKey } from '../hotkeys';
import { openExternalBrowser, toggleDebugLayout, toggleKitchenSink } from './actions';
const relayedTypes = ['backend/update', 'chat/message'];
// prettier-ignore
const relayedTypes = [
'backend/update',
'chat/message',
];
export const debugMiddleware = (store) => {
acquireHotKey(KEY_F11);
@@ -25,11 +29,11 @@ export const debugMiddleware = (store) => {
// NOTE: We need to call this in a timeout, because we need a clean
// stack in order for this to be a fatal error.
setTimeout(() => {
// prettier-ignore
throw new Error(
'OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle' +
' fucko boingo! The code monkeys at our headquarters are' +
' working VEWY HAWD to fix this!'
);
'OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle'
+ ' fucko boingo! The code monkeys at our headquarters are'
+ ' working VEWY HAWD to fix this!');
});
}
});