[Pas2js] Pas2JS_Widget woes

Luca Olivetti luca at ventoso.org
Tue Jul 19 09:11:31 CEST 2022


El 18/7/22 a les 23:10, Sven Barth via Pas2js ha escrit:

>> What am I doing wrong?
> 
> Would you please make sure that your project has a dependency on the WCL 
> package, but not on the LCL (or the FCL) package?

The only dependencies are WCL and pas2js_rtl.

I managed to compile the project with

pas2js  -Tbrowser -Fu'/home/luca/pas2js-linux/Pas2JS_Widget/*'  project1.lpr


(once corrected the error here: 
https://forum.lazarus.freepascal.org/index.php/topic,59272.0.html)

though when I open project1.html the browser console complains "Uncaught 
reference: rtl is not defined"

Bye
-- 
Luca


More information about the Pas2js mailing list