mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Re-factor/re-name the scripting
getter, on the externalServices
-implementations, to a createScripting
method
Given that the GENERIC default viewer supports opening more than one document, and that a unique scripting-instance is now used for each document, the changes made in this patch seem appropriate.
This commit is contained in:
parent
a7230eb033
commit
6218b9a512
4 changed files with 8 additions and 8 deletions
|
@ -430,7 +430,7 @@ class ChromeExternalServices extends DefaultExternalServices {
|
|||
return new GenericL10n(navigator.language);
|
||||
}
|
||||
|
||||
static get scripting() {
|
||||
static createScripting() {
|
||||
return new GenericScripting();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue