* Make 2 demos use the new unit names

This commit is contained in:
Michaël Van Canneyt 2023-12-03 13:16:12 +01:00
parent 3f88cdd20a
commit fa46b5c9a6
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
program democanvas2d;
uses Web, Classes, JS, SysUtils;
uses BrowserApi.Web, System.Classes, JSApi.JS, System.SysUtils;
Type
TForm = Class

View File

@ -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