Calixte Denizet
283aac4c53
JS -- Implement app object
...
* https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/AcrobatDC_js_api_reference.pdf
* Add color, fullscreen objects + few constants.
2020-11-20 15:46:52 +01:00
Calixte Denizet
c7974e9996
JS -- Add a sandbox based on quickjs
...
* quickjs-eval.js has been generated using https://github.com/mozilla/pdf.js.quickjs/
* lazy load of sandbox code
* Rewrite tests to use the sandbox
* Add a task `watch-sandbox` which update bundle pdf.sandbox.js on change in the sandbox code
2020-11-19 13:40:46 +01:00
Calixte Denizet
2dfac4cb41
JS -- Fix events dispatchment and add tests
...
* dispatch event to take into account calculation order
* use a map for actions in Field
2020-11-10 17:26:29 +01:00
Calixte Denizet
f69e848b1c
JS -- Add 'util' object
...
This patch provides an implementation of the util object as described:
* https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/js_api_reference.pdf#page=716
2020-11-06 18:12:29 +01:00