* Datatables namespaced

This commit is contained in:
Michaël Van Canneyt 2023-11-27 22:30:23 +01:00
parent 2b5c74fe7e
commit a3cbb234f4
2 changed files with 11 additions and 4 deletions

View File

@ -0,0 +1,3 @@
{$DEFINE FPC_DOTTEDUNITS}
unit Api.DataTables;
{$include ../src/libdatatables.pas}

View File

@ -12,17 +12,21 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
{$IFNDEF FPC_DOTTEDUNITS}
unit libdatatables;
{$ENDIF}
{$mode objfpc}
{$modeswitch externalclass}
interface
uses types, js, web, libjquery;
uses
{$IFDEF FPC_DOTTEDUNITS}
System.Types, JSApi.JS, BrowserApi.Web, Api.JQuery;
{$ELSE}
types, js, web, libjquery;
{$ENDIF}
Const
OrderAsc = 'asc';