Refactors PDFLinkService.

# Conflicts:
#	web/viewer.js
This commit is contained in:
Yury Delendik 2015-04-27 10:25:32 -05:00
parent 73545fbb92
commit 0ef6212b64
7 changed files with 389 additions and 246 deletions

View file

@ -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;