mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 12:11:07 +01:00
Ran prettier
This commit is contained in:
parent
5fc5d988e6
commit
48ab150a4e
133 changed files with 13852 additions and 12549 deletions
|
|
@ -1,4 +1,4 @@
|
|||
export function handleSocketEvent({action=null, data={}}={}) {
|
||||
export function handleSocketEvent({ action = null, data = {} } = {}) {
|
||||
switch (action) {
|
||||
case socketEvent.GMUpdate:
|
||||
Hooks.callAll(socketEvent.GMUpdate, data.action, data.uuid, data.update);
|
||||
|
|
@ -8,13 +8,13 @@ export function handleSocketEvent({action=null, data={}}={}) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export const socketEvent = {
|
||||
GMUpdate: "DhpGMUpdate",
|
||||
DhpFearUpdate: "DhpFearUpdate",
|
||||
GMUpdate: 'DhpGMUpdate',
|
||||
DhpFearUpdate: 'DhpFearUpdate'
|
||||
};
|
||||
|
||||
export const GMUpdateEvent = {
|
||||
UpdateDocument: "DhpGMUpdateDocument",
|
||||
UpdateFear: "DhpUpdateFear"
|
||||
};
|
||||
UpdateDocument: 'DhpGMUpdateDocument',
|
||||
UpdateFear: 'DhpUpdateFear'
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue