mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Refactors PDFLinkService.
# Conflicts: # web/viewer.js
This commit is contained in:
parent
73545fbb92
commit
0ef6212b64
7 changed files with 389 additions and 246 deletions
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
/*jshint globalstrict: false */
|
||||
/* globals PDFJS, PDFViewer, PDFPageView, TextLayerBuilder,
|
||||
/* globals PDFJS, PDFViewer, PDFPageView, TextLayerBuilder, PDFLinkService,
|
||||
DefaultTextLayerFactory, AnnotationsLayerBuilder,
|
||||
DefaultAnnotationsLayerFactory */
|
||||
|
||||
|
@ -28,10 +28,12 @@ if (typeof PDFJS === 'undefined') {
|
|||
'use strict';
|
||||
|
||||
//#include ui_utils.js
|
||||
//#include pdf_link_service.js
|
||||
//#include pdf_viewer.js
|
||||
|
||||
PDFJS.PDFViewer = PDFViewer;
|
||||
PDFJS.PDFPageView = PDFPageView;
|
||||
PDFJS.PDFLinkService = PDFLinkService;
|
||||
PDFJS.TextLayerBuilder = TextLayerBuilder;
|
||||
PDFJS.DefaultTextLayerFactory = DefaultTextLayerFactory;
|
||||
PDFJS.AnnotationsLayerBuilder = AnnotationsLayerBuilder;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue