mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 18:17:45 +02:00
* Make 2 demos use the new unit names
This commit is contained in:
parent
3f88cdd20a
commit
fa46b5c9a6
@ -1,6 +1,6 @@
|
||||
program democanvas2d;
|
||||
|
||||
uses Web, Classes, JS, SysUtils;
|
||||
uses BrowserApi.Web, System.Classes, JSApi.JS, System.SysUtils;
|
||||
|
||||
Type
|
||||
TForm = Class
|
||||
|
@ -1,6 +1,10 @@
|
||||
program democlasstopas;
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses System.SysUtils, System.Types, BrowserApi.Web, System.Classes, JSApi.JS, Browser.Console, System.Class2Pas;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses Sysutils, Types, Web, Classes, JS, browserconsole, class2pas;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
Type
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user