mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 19:20:38 +02:00
pas2js: started install
This commit is contained in:
parent
26de2f9330
commit
fd9746e2f9
@ -47,7 +47,7 @@ type
|
|||||||
baoUseWASI, // Use WASI browser app object
|
baoUseWASI, // Use WASI browser app object
|
||||||
baoUseBrowserConsole, // use browserconsole unit to display Writeln()
|
baoUseBrowserConsole, // use browserconsole unit to display Writeln()
|
||||||
baoUseModule, // include as module as opposed to regular script
|
baoUseModule, // include as module as opposed to regular script
|
||||||
baoLocationOnSWS, // add location
|
baoLocationOnSWS, // location on Simple Web Server
|
||||||
baoStartServer, // Start simple server
|
baoStartServer, // Start simple server
|
||||||
baoUseURL // Use this URL to run/show project in browser
|
baoUseURL // Use this URL to run/show project in browser
|
||||||
);
|
);
|
||||||
@ -348,6 +348,11 @@ begin
|
|||||||
PJSOptions.Load;
|
PJSOptions.Load;
|
||||||
TPJSController.Instance.Hook; // this registers macros and events
|
TPJSController.Instance.Hook; // this registers macros and events
|
||||||
|
|
||||||
|
{$IFDEF EnablePas2jsInstall}
|
||||||
|
// register menu item
|
||||||
|
RegisterIDEMenuCommand(itmCustomTools,'Pas2jsInstall','Install/Update Pas2js',@OnInstallPas2js);
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
// register new-project items
|
// register new-project items
|
||||||
RegisterProjectDescriptor(TProjectPas2JSWebApp.Create);
|
RegisterProjectDescriptor(TProjectPas2JSWebApp.Create);
|
||||||
PWA:=TProjectPas2JSProgressiveWebApp.Create;
|
PWA:=TProjectPas2JSProgressiveWebApp.Create;
|
||||||
|
Loading…
Reference in New Issue
Block a user