Skip to content

Commit

Permalink
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Mar 5, 2024
0 parents commit 57deb23
Show file tree
Hide file tree
Showing 48 changed files with 17,179 additions and 0 deletions.
1,609 changes: 1,609 additions & 0 deletions dochack.js

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions nimcache/runnableExamples/jssets_examples_1.nim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#[
autogenerated by docgen
loc: /home/runner/work/fusion/fusion/fusion/src/fusion/js/jssets.nim(36, 1)
rdoccmd:
]#
import std/assertions
import "/home/runner/work/fusion/fusion/fusion/src/fusion/js/jssets.nim"
{.line: ("/home/runner/work/fusion/fusion/fusion/src/fusion/js/jssets.nim", 36, 1).}:
import std/jsffi
if defined(fusionJsSetTests):
let a: JsSet = newJsSet([1.toJs, 2.toJs, 3.toJs, 4.toJs])
let b: JsSet = newJsSet([1.0.toJs, 2.0.toJs, 3.0.toJs])
doAssert a.len == 4
doAssert b.len == 3
doAssert a.toString() == @["1".cstring, "2", "3", "4"]
doAssert b.toString() == @["1".cstring, "2", "3"]
a.clear()
b.clear()
let d: JsSet = newJsSet([1.toJs, 2.toJs, 3.toJs])
doAssert d.len == 3
d.add(4.toJs)
d.delete(2.toJs)
doAssert 3.toJs in d
doAssert "3".cstring.toJs notin d
doAssert d.contains 1.toJs
doAssert $d == """@["1", "3", "4"]"""

Loading

0 comments on commit 57deb23

Please sign in to comment.