1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

js: use prefixed names for functions and global symbols (#11387)

This commit is contained in:
playX
2021-09-08 20:30:46 +03:00
committed by GitHub
parent 96d4a0777f
commit 72089c4feb
25 changed files with 1895 additions and 357 deletions

View File

@@ -101,7 +101,7 @@ pub fn (mut p Process) stdin_write(s string) {
pub fn (mut p Process) stdout_slurp() string {
p.check_redirection_call('stdout_slurp')
mut res := ''
#p.val.pid.stdout.on('data', function (data) { res = new builtin.string(data) })
#p.val.pid.stdout.on('data', function (data) { res = new string(data) })
return res
}