We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb857c6 commit a177b4aCopy full SHA for a177b4a
QJSDelphiDemo/DelphiDemo.dpr
@@ -78,9 +78,9 @@ const
78
'import * as std from ''std'';'#10+
79
'import * as os from ''os'';'#10+
80
'import * as Cmu from ''Cmu'';'#10+ // Our Custom Module.
81
- 'std.global.std = std;'#10+
82
- 'std.global.os = os;'#10+
83
- 'std.global.Cmu = Cmu;'#10;
+ 'globalThis.std = std;'#10+
+ 'globalThis.os = os;'#10+
+ 'globalThis.Cmu = Cmu;'#10;
84
begin
85
rt := JS_NewRuntime;
86
if Assigned(rt) then
0 commit comments