mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-08 05:49:07 +02:00
* Adapt to new classes
This commit is contained in:
parent
1854000d26
commit
bf0768632f
@ -52,7 +52,7 @@
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="11"/>
|
||||
<Target FileExt=".js">
|
||||
<Target>
|
||||
<Filename Value="demothreads"/>
|
||||
</Target>
|
||||
<SearchPaths>
|
||||
@ -76,7 +76,8 @@
|
||||
</Debugging>
|
||||
</Linking>
|
||||
<Other>
|
||||
<CustomOptions Value="-Jeutf-8 -Jirtl.js -Jc -Jminclude"/>
|
||||
<CustomOptions Value="-Jeutf-8 -Jirtl.js -Jc -Jminclude
|
||||
-dDEBUGCOMMANDDISPATCHERx"/>
|
||||
<CompilerPath Value="$(pas2js)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
|
@ -24,7 +24,7 @@ Type
|
||||
procedure TMyApplication.DoWrite(Sender: TObject; aOutput: String);
|
||||
|
||||
begin
|
||||
Writeln('Wasm: '+aOutput);
|
||||
Writeln('[Wasm main thread]: '+aOutput);
|
||||
end;
|
||||
|
||||
function TMyApplication.DoStartClick(aEvent: TJSMouseEvent): boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user