mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
Move all PDFJS.xxx settings into display/global.
This commit is contained in:
parent
6c9f418aae
commit
1d12aed5ca
17 changed files with 538 additions and 403 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