Fix error that's breaking the ConstL10n class (PR 17161 follow-up)
				
					
				
			I forgot to include `web/l10n_utils.js` in PR 17161, which currently breaks `ConstL10n` since there's no longer a method called `setL10n`; sorry about that!
This commit is contained in:
		
							parent
							
								
									f098121644
								
							
						
					
					
						commit
						846bd86520
					
				| @ -26,7 +26,7 @@ import { shadow } from "pdfjs-lib"; | |||||||
| class ConstL10n extends L10n { | class ConstL10n extends L10n { | ||||||
|   constructor(lang) { |   constructor(lang) { | ||||||
|     super({ lang }); |     super({ lang }); | ||||||
|     this.setL10n( |     this._setL10n( | ||||||
|       new DOMLocalization([], ConstL10n.#generateBundles.bind(ConstL10n, lang)) |       new DOMLocalization([], ConstL10n.#generateBundles.bind(ConstL10n, lang)) | ||||||
|     ); |     ); | ||||||
|   } |   } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user