Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a177b4a

Browse files
author
Coldzer0
authoredSep 19, 2019
"std.global" changes to "globalThis" Delphi Demo
1 parent eb857c6 commit a177b4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎QJSDelphiDemo/DelphiDemo.dpr

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ const
7878
'import * as std from ''std'';'#10+
7979
'import * as os from ''os'';'#10+
8080
'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;
81+
'globalThis.std = std;'#10+
82+
'globalThis.os = os;'#10+
83+
'globalThis.Cmu = Cmu;'#10;
8484
begin
8585
rt := JS_NewRuntime;
8686
if Assigned(rt) then

0 commit comments

Comments
 (0)