diff options
author | bptato <nincsnevem662@gmail.com> | 2024-06-03 20:28:57 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-06-03 20:28:57 +0200 |
commit | 5acbab703ba074e20dbc0ce729d9f57f467901e0 (patch) | |
tree | 6796b11781a681c647d6eb0f15b44f92530238ef /src/loader | |
parent | c906166374d0ce921b2c49d60b41288424414a47 (diff) | |
download | chawan-5acbab703ba074e20dbc0ce729d9f57f467901e0.tar.gz |
js: change jsstfunc syntax
Interface:function -> Interface.function for consistency with regular JS syntax
Diffstat (limited to 'src/loader')
-rw-r--r-- | src/loader/response.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/response.nim b/src/loader/response.nim index 56e955a3..4cf17c99 100644 --- a/src/loader/response.nim +++ b/src/loader/response.nim @@ -59,7 +59,7 @@ proc newResponse*(res: int; request: Request; stream: SocketStream): Response = outputId: -1 ) -func makeNetworkError*(): Response {.jsstfunc: "Response:error".} = +func makeNetworkError*(): Response {.jsstfunc: "Response.error".} = #TODO use "create" function #TODO headers immutable return Response( |