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:
commit
68e8f5fff5
39 changed files with 720 additions and 517 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue