Compare commits

..

2 commits

Author SHA1 Message Date
5e8d81c2a6 add donejs edition denotation
Some checks are pending
ci / Linux (Ubuntu) (push) Waiting to run
ci / linux-asan (push) Waiting to run
ci / linux-msan (push) Waiting to run
ci / linux-ubsan (push) Waiting to run
ci / macOS (push) Waiting to run
ci / macos-asan (push) Waiting to run
ci / macos-ubsan (push) Waiting to run
ci / freebsd (push) Waiting to run
ci / qemu-alpine (arm32v6) (push) Waiting to run
ci / qemu-alpine (arm32v7) (push) Waiting to run
ci / qemu-alpine (arm64v8) (push) Waiting to run
ci / qemu-alpine (i386) (push) Waiting to run
ci / qemu-alpine (s390x) (push) Waiting to run
2024-10-24 15:12:35 -05:00
c6c98a254c flix global 2024-10-24 15:10:12 -05:00
2 changed files with 3 additions and 3 deletions

2
qjs.c
View file

@ -501,7 +501,7 @@ int main(int argc, char **argv)
" return y;\n"
"}\n"
"globalThis.require = require;\n"
"globalThis.global = global;\n";
"globalThis.global = globalThis;\n";
eval_buf(ctx, reqPF, strlen(reqPF), "<input>", JS_EVAL_TYPE_MODULE);
for(i = 0; i < include_count; i++) {

View file

@ -1226,9 +1226,9 @@ import * as os from "os";
function cmd_start() {
if (!config_numcalc) {
if (has_jscalc)
std.puts('QJSCalc - Type "\\h" for help\n');
std.puts('QJSCalc (DoneJS Edition) - Type "\\h" for help\n');
else
std.puts('QuickJS - Type "\\h" for help\n');
std.puts('QuickJS (DoneJS Edition) - Type "\\h" for help\n');
}
if (has_bignum) {
log2_10 = Math.log(10) / Math.log(2);