mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Remove a superfluous "s" in AnnotationsLayerBuilder
from files in web/
This patch makes the naming consistent with the `TextLayerBuilder`, and also the new `AnnotationLayer`, and should thus help reduce possible confusion when working with the code. Please note that the files were renamed using `git mv`, in order to preserve blame.
This commit is contained in:
parent
a8d760d97f
commit
3079dd937f
9 changed files with 40 additions and 40 deletions
|
@ -14,8 +14,8 @@
|
|||
*/
|
||||
/*jshint globalstrict: false */
|
||||
/* globals PDFJS, PDFViewer, PDFPageView, TextLayerBuilder, PDFLinkService,
|
||||
DefaultTextLayerFactory, AnnotationsLayerBuilder, PDFHistory,
|
||||
DefaultAnnotationsLayerFactory, getFileName, ProgressBar */
|
||||
DefaultTextLayerFactory, AnnotationLayerBuilder, PDFHistory,
|
||||
DefaultAnnotationLayerFactory, getFileName, ProgressBar */
|
||||
|
||||
// Initializing PDFJS global object (if still undefined)
|
||||
if (typeof PDFJS === 'undefined') {
|
||||
|
@ -35,8 +35,8 @@ if (typeof PDFJS === 'undefined') {
|
|||
PDFJS.PDFLinkService = PDFLinkService;
|
||||
PDFJS.TextLayerBuilder = TextLayerBuilder;
|
||||
PDFJS.DefaultTextLayerFactory = DefaultTextLayerFactory;
|
||||
PDFJS.AnnotationsLayerBuilder = AnnotationsLayerBuilder;
|
||||
PDFJS.DefaultAnnotationsLayerFactory = DefaultAnnotationsLayerFactory;
|
||||
PDFJS.AnnotationLayerBuilder = AnnotationLayerBuilder;
|
||||
PDFJS.DefaultAnnotationLayerFactory = DefaultAnnotationLayerFactory;
|
||||
PDFJS.PDFHistory = PDFHistory;
|
||||
|
||||
PDFJS.getFileName = getFileName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue