diff options
author | bptato <nincsnevem662@gmail.com> | 2025-02-15 18:44:33 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2025-02-15 18:49:20 +0100 |
commit | 5f4d7d67b6c13ae7633dede4216c958e30751050 (patch) | |
tree | 15021c58fe48195b896ac2b481d444870c89f7d0 /src/local | |
parent | 70cc9af79e9828e1325ec37585a11dae3fd197f8 (diff) | |
download | chawan-5f4d7d67b6c13ae7633dede4216c958e30751050.tar.gz |
client: remove client getter
Undocumented, plus and globalThis/window are enough.
Diffstat (limited to 'src/local')
-rw-r--r-- | src/local/client.nim | 3 |
1 files changed, 0 insertions, 3 deletions
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 = |