Skip to content

Commit

Permalink
docs: update discord invite (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaa123eee authored Nov 16, 2024
1 parent b40f4c2 commit a71da55
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Local Development

Welcome 🎉!! If you've found a bug, or have an idea to add a feature we'd love to hear from you. It may save time to first ping the group on [Partytown's Discord channel](https://discord.gg/bNVSQmPzqy) to talk through any ideas or any issues that may be a bug.
Welcome 🎉!! If you've found a bug, or have an idea to add a feature we'd love to hear from you. It may save time to first ping the group on [Partytown's Discord channel](https://discord.gg/aHKdpdWv7a) to talk through any ideas or any issues that may be a bug.

## Installation

Expand Down
7 changes: 6 additions & 1 deletion src/lib/sandbox/main-custom-element.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { type CustomElementData, type PartytownWebWorker, type WinId, WorkerMessageType } from '../types';
import {
type CustomElementData,
type PartytownWebWorker,
type WinId,
WorkerMessageType,
} from '../types';
import { defineConstructorName } from '../utils';
import { getAndSetInstanceId } from './main-instances';
import { winCtxs } from './main-constants';
Expand Down
7 changes: 6 additions & 1 deletion src/lib/sandbox/read-main-platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ import {
serializeConfig,
} from '../utils';
import { config, docImpl, libPath, mainWindow } from './main-globals';
import { InterfaceType, type InterfaceInfo, type InterfaceMember, type InitWebWorkerData } from '../types';
import {
InterfaceType,
type InterfaceInfo,
type InterfaceMember,
type InitWebWorkerData,
} from '../types';

export const readMainPlatform = () => {
const elm = docImpl.createElement('i');
Expand Down
6 changes: 5 additions & 1 deletion src/lib/web-worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { callWorkerRefHandler } from './worker-serialization';
import { createEnvironment } from './worker-environment';
import { debug } from '../utils';
import { environments, webWorkerCtx } from './worker-constants';
import { type ForwardMainTriggerData, type MessageFromSandboxToWorker, WorkerMessageType } from '../types';
import {
type ForwardMainTriggerData,
type MessageFromSandboxToWorker,
WorkerMessageType,
} from '../types';
import { initNextScriptsInWebWorker } from './worker-exec';
import { initWebWorker } from './init-web-worker';
import { logWorker, normalizedWinId } from '../log';
Expand Down
7 changes: 6 additions & 1 deletion src/lib/web-worker/media/canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ import {
randomId,
} from './bridge';
import { ContextKey, defineCstr, notImpl } from './utils';
import { CallType, type WorkerConstructor, type WorkerInstance, type WorkerWindow } from '../../types';
import {
CallType,
type WorkerConstructor,
type WorkerInstance,
type WorkerWindow,
} from '../../types';

export const initCanvas = (WorkerBase: WorkerConstructor, win: WorkerWindow) => {
const HTMLCanvasDescriptorMap: PropertyDescriptorMap & ThisType<Node> = {
Expand Down
8 changes: 7 additions & 1 deletion src/lib/web-worker/worker-css-style-declaration.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { type ApplyPath, CallType, type InstanceId, type WinId, type WorkerConstructor } from '../types';
import {
type ApplyPath,
CallType,
type InstanceId,
type WinId,
type WorkerConstructor,
} from '../types';
import { cachedDimensions, InstanceDataKey } from './worker-constants';
import { callMethod, getter, setter } from './worker-proxy';
import { defineConstructorName } from '../utils';
Expand Down

0 comments on commit a71da55

Please sign in to comment.