mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Merge pull request #13020 from Snuffleupagus/rm-some-NullL10n-use
Remove the `NullL10n` default value from viewer components not included in the `COMPONENTS`-bundle
This commit is contained in:
commit
163a840a1e
9 changed files with 12 additions and 36 deletions
|
@ -14,7 +14,6 @@
|
|||
*/
|
||||
|
||||
import { FindState } from "./pdf_find_controller.js";
|
||||
import { NullL10n } from "./ui_utils.js";
|
||||
|
||||
const MATCHES_COUNT_LIMIT = 1000;
|
||||
|
||||
|
@ -25,7 +24,7 @@ const MATCHES_COUNT_LIMIT = 1000;
|
|||
* is done by PDFFindController.
|
||||
*/
|
||||
class PDFFindBar {
|
||||
constructor(options, eventBus, l10n = NullL10n) {
|
||||
constructor(options, eventBus, l10n) {
|
||||
this.opened = false;
|
||||
|
||||
this.bar = options.bar;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue