mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-04-15 10:48:00 +02:00
more
This commit is contained in:
parent
ebf338f069
commit
209b3b637c
@ -1,24 +1,18 @@
|
|||||||
// CHAPTER -1: Introduction
|
// CHAPTER -1: Introduction
|
||||||
|
|
||||||
|
/**
|
||||||
Use
|
Use
|
||||||
---
|
---
|
||||||
|
|
||||||
For development server-side with node: cpdf.js (minified version cpdf.min.js)
|
cpdf.js can be used from both node and the browser.
|
||||||
|
|
||||||
Load with "const cpdf = require('cpdf.js')" if installed in npm, or "const cpdf
|
For development server-side with node: `cpdf.js` (minified version
|
||||||
= require('./cpdf.js')" to load from current directory.
|
`cpdf.min.js`) Load with `const cpdf = require('cpdf.js')` if installed in npm,
|
||||||
|
or `const cpdf = require('./cpdf.js')` to load from current directory.
|
||||||
|
|
||||||
For development client-side with the browser : cpdf.browser.js
|
For development client-side with the browser : `cpdf.browser.js` (minified
|
||||||
|
version for deployment : `cpdf.browser.min.js`). Load with `<script
|
||||||
(Minified version for deployment : cpdf.browser.min.js)
|
src="cpdf.browser.js"></script>` or similar.
|
||||||
|
|
||||||
Load with <script src="cpdf.browser.js"></script> or similar.
|
|
||||||
|
|
||||||
|
|
||||||
Concurrency
|
|
||||||
-----------
|
|
||||||
|
|
||||||
cpdf.js is synchronous and non-re-entrant.
|
|
||||||
|
|
||||||
|
|
||||||
Data types
|
Data types
|
||||||
@ -40,3 +34,9 @@ Errors
|
|||||||
Any function may raise an exception, containing a string describing the problem.
|
Any function may raise an exception, containing a string describing the problem.
|
||||||
|
|
||||||
|
|
||||||
|
Concurrency
|
||||||
|
-----------
|
||||||
|
|
||||||
|
cpdf.js is synchronous and non-re-entrant. In the browser, best used in a worker.
|
||||||
|
**/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user