moved javascript sources under js/

This commit is contained in:
wargio authored and Giovanni committed 2024-02-11 14:40:11 +08:00
1 parent a87fa8cb0f
commit 3d115d9a9c
51 files changed
+10 -11

No files matched your search

+5
View File
@@ -29,8 +29,13 @@
"no-control-regex": "warn"
},
"globals": {
"process": true,
"BigInt": true,
"Global": true,
"Limits": true,
"rizin": true,
"atob": true,
"btoa": true,
"console": true
}
}
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/sh
find . -type f -name "*.js" | xargs eslint
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -5,7 +5,6 @@ project('quickjs', 'c',
cc = meson.get_compiler('c')
have_msvc = cc.get_id() == 'msvc'
have_emscripten = cc.get_define('EMSCRIPTEN') != ''
threads_dep = dependency('threads')
dl_dep = cc.find_library('dl', required: false)
@@ -48,10 +47,9 @@ cdata.set('CONFIG_BIGNUM', get_option('bignum'))
atomics = false
opt = get_option('atomics')
if not opt.disabled()
supported = not (have_msvc or have_emscripten)
if opt.auto()
atomics = supported
elif supported
atomics = not have_msvc
elif not have_msvc
atomics = true
else
error('Atomics support was requested but is not available')
@@ -62,10 +60,9 @@ cdata.set('CONFIG_ATOMICS', atomics)
stack_check = false
opt = get_option('stack_check')
if not opt.disabled()
supported = not (have_msvc or have_emscripten)
if opt.auto()
stack_check = supported
elif supported
stack_check = not have_msvc
elif not have_msvc
stack_check = true
else
error('Stack limitation was requested but is not available')
-3
View File
@@ -1,3 +0,0 @@
[wrap-git]
https://github.com/frida/quickjs.git
revision = c81f05c9859cea5f83a80057416a0c7affe9b876