source upload

This commit is contained in:
Razor12911
2022-01-17 22:16:47 +02:00
parent 12936d065b
commit 098e8c48de
1778 changed files with 1206749 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
/// test JavaScript execution using the SpiderMonkey library
program TestSynSM;
{
-------------------------------------------------------------------------
Download the SpiderMonkey library at https://synopse.info/files/synsm.7z
and put mozjs-24.dll and libnspr4.dll files with your TestSynSM.exe
-------------------------------------------------------------------------
}
{$APPTYPE CONSOLE}
{$ifdef WIN64}
begin
writeln('SpiderMonkey is not handled in 64 bit mode yet');
{$else}
// first line of uses clause must be {$I SynDprUses.inc}
uses
{$I SynDprUses.inc}
SynSMSelfTest in 'SynSMSelfTest.pas';
begin
SynSMConsoleTests;
{$endif WIN64}
end.