js: add missing start_digraph() for the js backend ()

pull/12643/head
pancake 2021-12-01 13:05:18 +01:00 committed by GitHub
parent f5d283721e
commit 6f297cdfaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
vlib/v/dotgraph

View File

@ -0,0 +1,6 @@
module dotgraph
pub fn start_digraph() {
println('digraph G {')
#JS.process.on('exit', fn () { println('}') })
}