mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-10 09:09:17 +02:00
* Namespaced PDF.Js API
This commit is contained in:
parent
647f7c452e
commit
0f5cbb613e
3
packages/pdfjs/namespaced/Api.Pdf.JS.pas
Normal file
3
packages/pdfjs/namespaced/Api.Pdf.JS.pas
Normal file
@ -0,0 +1,3 @@
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
unit Api.Pdf.JS;
|
||||
{$include ../src/pdfjs.pas}
|
@ -12,8 +12,9 @@
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
**********************************************************************}
|
||||
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
Unit pdfjs;
|
||||
{$ENDIF}
|
||||
|
||||
{$MODE ObjFPC}
|
||||
{$H+}
|
||||
@ -21,7 +22,12 @@ Unit pdfjs;
|
||||
|
||||
interface
|
||||
|
||||
uses SysUtils, JS,web;
|
||||
uses
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
System.SysUtils, JSApi.JS, BrowserApi.Web;
|
||||
{$ELSE}
|
||||
SysUtils, JS,web;
|
||||
{$ENDIF}
|
||||
|
||||
{$INTERFACES CORBA}
|
||||
Type
|
Loading…
Reference in New Issue
Block a user