1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +02:00

On ne passe plus par des cdn pour les js

This commit is contained in:
Vincent LAURENT 2021-09-22 00:08:27 +02:00
parent 8b6f8c4e58
commit 2daa2a4600
8 changed files with 119799 additions and 7 deletions

View File

@ -3,7 +3,7 @@
var pdfjsLib = window['pdfjs-dist/build/pdf'];
// The workerSrc property shall be specified.
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://mozilla.github.io/pdf.js/build/pdf.worker.js';
pdfjsLib.GlobalWorkerOptions.workerSrc = '/vendor/pdf.worker.js?legacy';
// Asynchronous download of PDF

File diff suppressed because one or more lines are too long

1
public/vendor/fabric.min.js vendored Normal file

File diff suppressed because one or more lines are too long

2
public/vendor/opentype.min.js vendored Normal file

File diff suppressed because one or more lines are too long

26476
public/vendor/pdf.js vendored Normal file

File diff suppressed because it is too large Load Diff

93314
public/vendor/pdf.worker.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -49,13 +49,13 @@
</div>
</div>
<script src="https://mozilla.github.io/pdf.js/legacy/build/pdf.js"></script>
<script src="https://cdn.jsdelivr.net/npm/fabric@4.4.0/dist/fabric.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/signature_pad@3.0.0-beta.3/dist/signature_pad.umd.min.js"></script>
<script src="/vendor/pdf.js?legacy"></script>
<script src="/vendor/fabric.min.js?4.4.0"></script>
<script src="/vendor/signature_pad.umd.min.js?v3.0.0-beta.3"></script>
<script src="/vendor/opentype.min.js?v1.3.3"></script>
<script>
var url = '/<?php echo $key ?>/pdf';
</script>
<script src="/js/app.js"></script>
<script src="/js/opentype.min.js"></script>
</body>
</html>