Jonas Jenwald
76c805f83b
[api-minor] Remove the separate enableScripting
option in BaseViewer
...
Prior to PR 13042, when scripting wasn't really possible to use outside of the full viewer, the `enableScripting` option made sense.
However, at this point in time having to both pass in a `PDFScriptingManager`-instance *and* set the `enableScripting`-boolean when creating a `BaseViewer`-instance feels redundant and (mostly) annoying. Hence this patch, which removes the *separate* boolean and always enables scripting when `scriptingManager` is provided.
The relevant "viewer component" examples are also updated (with a comment), but in such a way that scripting support won't just break when used with the current PDF.js releases.
2021-07-29 10:06:03 +02:00
..
2021-01-09 16:09:46 +01:00
2015-01-26 16:44:45 +01:00
2021-07-07 23:41:49 +05:30
2021-03-04 11:34:51 +01:00
2021-07-27 16:44:49 +02:00
2021-07-29 10:06:03 +02:00
2021-01-09 16:09:44 +01:00
2021-07-29 10:06:03 +02:00
2015-08-14 18:59:55 +02:00
2021-05-16 11:44:05 +02:00
2011-07-05 10:53:57 -07:00
2021-07-04 12:57:45 +02:00
2021-07-27 16:44:49 +02:00
2021-06-23 08:17:58 +02:00
2021-03-04 11:34:51 +01:00
2021-05-16 11:44:05 +02:00
2020-12-23 14:05:49 +01:00
2021-07-08 12:54:58 +02:00
2021-03-26 21:37:51 +01:00
2021-04-09 09:56:28 -07:00
2021-07-08 12:54:58 +02:00
2019-12-26 12:35:12 +01:00
2021-03-04 11:34:51 +01:00
2021-02-26 10:50:29 +01:00
2021-02-14 10:39:49 +01:00
2021-03-17 15:48:24 +01:00
2021-03-04 11:34:51 +01:00
2021-06-21 11:49:33 +02:00
2019-12-26 12:34:24 +01:00
2021-03-25 12:24:28 +01:00
2021-05-16 11:44:05 +02:00
2021-07-03 11:30:46 +02:00
2021-07-03 11:30:46 +02:00
2021-07-27 16:44:49 +02:00
2021-04-06 13:04:23 +02:00
2021-07-27 16:44:49 +02:00
2021-01-09 20:37:51 +01:00
2021-06-17 18:42:15 +02:00
2021-03-07 16:20:52 +01:00
2021-04-10 13:12:47 +02:00
2021-01-22 21:38:15 +01:00
2021-05-16 11:44:05 +02:00
2021-05-09 14:26:01 +02:00
2021-03-05 20:31:48 +01:00
2021-04-11 17:07:33 +04:00
2021-01-22 21:38:15 +01:00
2019-12-26 12:34:24 +01:00
2021-03-22 14:38:05 +01:00
2021-06-23 08:17:58 +02:00
2021-02-05 16:08:29 -08:00
2021-04-09 09:56:28 -07:00
2021-06-21 18:59:59 +02:00
2021-06-21 11:49:33 +02:00
2021-05-20 15:28:38 +02:00
2021-06-23 08:17:58 +02:00
2020-03-21 13:55:06 +01:00
2017-05-31 09:22:25 -05:00
2018-03-21 18:21:46 +01:00
2019-01-23 20:33:20 +01:00
2016-02-14 13:23:34 +01:00
2017-05-31 09:22:25 -05:00
2021-07-12 20:53:21 +02:00
2021-07-15 13:59:40 +02:00
2021-02-14 10:39:34 +01:00
2021-07-28 19:10:42 +02:00
2021-06-23 08:17:58 +02:00