diff --git a/demo/rtl/democanvas2d.pas b/demo/rtl/democanvas2d.pas index ea2f95b..bdf3e3a 100644 --- a/demo/rtl/democanvas2d.pas +++ b/demo/rtl/democanvas2d.pas @@ -1,6 +1,6 @@ program democanvas2d; -uses Web, Classes, JS, SysUtils; +uses BrowserApi.Web, System.Classes, JSApi.JS, System.SysUtils; Type TForm = Class diff --git a/demo/rtl/democlasstopas.pas b/demo/rtl/democlasstopas.pas index 97d26d6..6478949 100644 --- a/demo/rtl/democlasstopas.pas +++ b/demo/rtl/democlasstopas.pas @@ -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