mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-18 19:29:21 +02:00
* Namespaced ChartJS API
This commit is contained in:
parent
176286ed63
commit
bf3de15513
packages/chartjs
3
packages/chartjs/namespaced/Api.ChartJS.pas
Normal file
3
packages/chartjs/namespaced/Api.ChartJS.pas
Normal file
@ -0,0 +1,3 @@
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
unit Api.ChartJS;
|
||||
{$include ../src/chartjs.pas}
|
@ -12,8 +12,9 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
**********************************************************************}
|
||||
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit ChartJS;
|
||||
{$ENDIF}
|
||||
|
||||
{$MODE OBJFPC}
|
||||
{$MODESWITCH EXTERNALCLASS}
|
||||
@ -21,8 +22,11 @@ unit ChartJS;
|
||||
interface
|
||||
|
||||
uses
|
||||
JS,
|
||||
Web;
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
JSApi.JS, BrowserApi.Web;
|
||||
{$ELSE}
|
||||
JS, Web;
|
||||
{$ENDIF}
|
||||
|
||||
type
|
||||
TChart = class;
|
Loading…
Reference in New Issue
Block a user