1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 23:28:06 +02:00

Merge pull request #7126 from yurydelendik/rm-pdfjs-display

Move all PDFJS display/ usages into global.js file.
This commit is contained in:
Brendan Dahl 2016-04-07 11:47:58 -07:00
commit 68e8f5fff5
39 changed files with 720 additions and 517 deletions

View file

@ -33,8 +33,9 @@ limitations under the License.
<script>
require.config({paths: {'pdfjs': '../src'}});
require(['pdfjs/display/api', 'pdfjs/display/text_layer',
'pdfjs/display/annotation_layer', 'pdfjs/shared/util'],
function (api, textLayer, annotationLayer, pdfjsSharedUtil) {
'pdfjs/display/annotation_layer', 'pdfjs/display/global',
'pdfjs/shared/util'],
function (api, textLayer, annotationLayer, global, pdfjsSharedUtil) {
window.pdfjsSharedUtil = pdfjsSharedUtil;
var driver = new Driver({