Skip to content

Commit 3d115d9

Browse files
committed
moved javascript sources under js/
1 parent a87fa8c commit 3d115d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+10
-11
lines changed

.eslintrc.json

+5
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,13 @@
2929
"no-control-regex": "warn"
3030
},
3131
"globals": {
32+
"process": true,
33+
"BigInt": true,
34+
"Global": true,
3235
"Limits": true,
3336
"rizin": true,
37+
"atob": true,
38+
"btoa": true,
3439
"console": true
3540
}
3641
}

eslint-check.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22

3-
find . -type f -name "*.js" | xargs eslint
3+
find js/ -type f -name "*.js" | xargs eslint
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

libdec/archs.js js/libdec/archs.js

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

libdec/core.js js/libdec/core.js

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

subprojects/packagefiles/libquickjs/meson.build

+4-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ project('quickjs', 'c',
55
cc = meson.get_compiler('c')
66

77
have_msvc = cc.get_id() == 'msvc'
8-
have_emscripten = cc.get_define('EMSCRIPTEN') != ''
98

109
threads_dep = dependency('threads')
1110
dl_dep = cc.find_library('dl', required: false)
@@ -48,10 +47,9 @@ cdata.set('CONFIG_BIGNUM', get_option('bignum'))
4847
atomics = false
4948
opt = get_option('atomics')
5049
if not opt.disabled()
51-
supported = not (have_msvc or have_emscripten)
5250
if opt.auto()
53-
atomics = supported
54-
elif supported
51+
atomics = not have_msvc
52+
elif not have_msvc
5553
atomics = true
5654
else
5755
error('Atomics support was requested but is not available')
@@ -62,10 +60,9 @@ cdata.set('CONFIG_ATOMICS', atomics)
6260
stack_check = false
6361
opt = get_option('stack_check')
6462
if not opt.disabled()
65-
supported = not (have_msvc or have_emscripten)
6663
if opt.auto()
67-
stack_check = supported
68-
elif supported
64+
stack_check = not have_msvc
65+
elif not have_msvc
6966
stack_check = true
7067
else
7168
error('Stack limitation was requested but is not available')

subprojects/quickjs.wrap

-3
This file was deleted.

0 commit comments

Comments
 (0)