summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorJuan Carlos <juancarlospaco@gmail.com>2021-03-07 01:57:16 -0300
committerGitHub <noreply@github.com>2021-03-06 20:57:16 -0800
commitb8c04bdb929f72ed8214122b255e88db9e713774 (patch)
tree4dfd2120bd980f3c6dad43710a1f7d1490715bf6 /tools
parent07df4fe560850b036e84750aced746daa58e2427 (diff)
downloadNim-b8c04bdb929f72ed8214122b255e88db9e713774.tar.gz
Add module jsfetch (#12531)
* Add module jsfetch for fetch support for JavaScript target https://developer.mozilla.org/docs/Web/API/Fetch_API

* Update lib/std/jsheaders.nim

* Update lib/std/jsformdata.nim

* Update lib/std/jsfetch.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Co-authored-by: flywind <xzsflywind@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/kochdocs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kochdocs.nim b/tools/kochdocs.nim
index 1f9493c8c..530ce8571 100644
--- a/tools/kochdocs.nim
+++ b/tools/kochdocs.nim
@@ -14,7 +14,7 @@ const
   webUploadOutput = "web/upload"
 
 var nimExe*: string
-const allowList = ["jsbigints.nim"]
+const allowList = ["jsbigints.nim", "jsheaders.nim", "jsformdata.nim", "jsfetch.nim"]
 
 template isJsOnly(file: string): bool =
   file.isRelativeTo("lib/js") or