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:
Jonas Jenwald 2020-12-07 18:23:34 +01:00
parent a7230eb033
commit 6218b9a512
4 changed files with 8 additions and 8 deletions

View file

@ -430,7 +430,7 @@ class ChromeExternalServices extends DefaultExternalServices {
return new GenericL10n(navigator.language);
}
static get scripting() {
static createScripting() {
return new GenericScripting();
}
}