From 5f4d7d67b6c13ae7633dede4216c958e30751050 Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 15 Feb 2025 18:44:33 +0100 Subject: client: remove client getter Undocumented, plus and globalThis/window are enough. --- src/local/client.nim | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/local') diff --git a/src/local/client.nim b/src/local/client.nim index 355bb389..ec2a6b0a 100644 --- a/src/local/client.nim +++ b/src/local/client.nim @@ -155,9 +155,6 @@ proc addJSModules(client: Client; ctx: JSContext) = ctx.addContainerModule() ctx.addSelectModule() -func getClient(client: Client): Client {.jsfget: "client".} = - return client - proc newClient*(config: Config; forkserver: ForkServer; loaderPid: int; jsctx: JSContext; warnings: seq[string]; urandom: PosixStream; loaderStream: SocketStream): Client = -- cgit