Some checks failed
Build and Deploy / package-dist (push) Has been cancelled
Build and Deploy / build-linux (push) Has been cancelled
Build and Deploy / deploy-itch (push) Has been cancelled
Build and Deploy / deploy-gitea (push) Has been cancelled
Build and Deploy / build-windows (CLANG64) (push) Has been cancelled
28 lines
370 B
JavaScript
28 lines
370 B
JavaScript
var tree = {
|
|
id: 1,
|
|
children: {
|
|
id: 2,
|
|
},{
|
|
id: 3,
|
|
children: {
|
|
id: 4,
|
|
id: 5
|
|
},
|
|
}, {
|
|
id: 13,
|
|
children: {
|
|
id: 14,
|
|
id: 15
|
|
}
|
|
}
|
|
}
|
|
|
|
var actor = $_.start(undefined, "tests/comments.js")
|
|
|
|
$_.send(actor, tree, (result, reason) => {
|
|
if (reason)
|
|
console.log(reason)
|
|
else
|
|
console.log(json.encode(result))
|
|
});
|