mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-31 18:30:14 +02:00
* Datatables namespaced
This commit is contained in:
parent
2b5c74fe7e
commit
a3cbb234f4
3
packages/datatables/namespaced/Api.DataTables.pas
Normal file
3
packages/datatables/namespaced/Api.DataTables.pas
Normal file
@ -0,0 +1,3 @@
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
unit Api.DataTables;
|
||||
{$include ../src/libdatatables.pas}
|
@ -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';
|
Loading…
Reference in New Issue
Block a user