Skip to content

Commit

Permalink
Updating test pages to use beta version of PDFObject 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pipwerks committed Feb 14, 2024
1 parent a0fb58e commit b3e5ea1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev/tests/base64.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h1>PDFObject Example: Embedding a PDF encoded as a Base64 string</h1>

<div id="my-pdf"></div>

<script src="/pdfobject.js"></script>
<script src="/dev/pdfobject.2.3b.js"></script>
<script>
let b64 = "data:application/pdf;base64,JVBERi0xLjMKMyAwIG9iago8PC9UeXBlIC9QYWdlCi9QYXJlbnQgMSAwIFIKL1Jlc291cmNlcyAyIDAgUgovQ29udGVudHMgNCAwIFI+PgplbmRvYmoKNCAwIG9iago8PC9GaWx0ZXIgL0ZsYXRlRGVjb2RlIC9MZW5ndGggMTAxPj4Kc3RyZWFtCnicFcytDoAgGEbhzlW8UQsCU5mVqcFk+G6AKf4F2YDJ7TvS2Z5wFBYmeKeRmSE0s4RUXAjQgYkKyaHlWkMPXQntqOi6I9ZxRrYRm38/F5LbkTwsjI2ubxFTuN+T16CnbH7L/xqsCmVuZHN0cmVhbQplbmRvYmoKMSAwIG9iago8PC9UeXBlIC9QYWdlcwovS2lkcyBbMyAwIFIgXQovQ291bnQgMQovTWVkaWFCb3ggWzAgMCA1OTUuMjggODQxLjg5XQo+PgplbmRvYmoKNSAwIG9iago8PC9UeXBlIC9Gb250Ci9CYXNlRm9udCAvSGVsdmV0aWNhCi9TdWJ0eXBlIC9UeXBlMQovRW5jb2RpbmcgL1dpbkFuc2lFbmNvZGluZwo+PgplbmRvYmoKMiAwIG9iago8PAovUHJvY1NldCBbL1BERiAvVGV4dCAvSW1hZ2VCIC9JbWFnZUMgL0ltYWdlSV0KL0ZvbnQgPDwKL0YxIDUgMCBSCj4+Ci9YT2JqZWN0IDw8Cj4+Cj4+CmVuZG9iago2IDAgb2JqCjw8Ci9Qcm9kdWNlciAoUHlGUERGIDEuNy4yIGh0dHA6Ly9weWZwZGYuZ29vZ2xlY29kZS5jb20vKQovQ3JlYXRpb25EYXRlIChEOjIwMjQwMjA4MDIyMTIzKQo+PgplbmRvYmoKNyAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMSAwIFIKL09wZW5BY3Rpb24gWzMgMCBSIC9GaXRIIG51bGxdCi9QYWdlTGF5b3V0IC9PbmVDb2x1bW4KPj4KZW5kb2JqCnhyZWYKMCA4CjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDI1OCAwMDAwMCBuIAowMDAwMDAwNDQxIDAwMDAwIG4gCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA4NyAwMDAwMCBuIAowMDAwMDAwMzQ1IDAwMDAwIG4gCjAwMDAwMDA1NDUgMDAwMDAgbiAKMDAwMDAwMDY1NCAwMDAwMCBuIAp0cmFpbGVyCjw8Ci9TaXplIDgKL1Jvb3QgNyAwIFIKL0luZm8gNiAwIFIKPj4Kc3RhcnR4cmVmCjc1NwolJUVPRgo=";

Expand Down
2 changes: 1 addition & 1 deletion dev/tests/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1>PDFObject Example: Basic embed</h1>

<div id="my-pdf"></div>

<script src="https://unpkg.com/pdfobject"></script>
<script src="/dev/pdfobject.2.3b.js"></script>
<script>PDFObject.embed("/pdf/sample.pdf", "#my-pdf");</script>

</body>
Expand Down
2 changes: 1 addition & 1 deletion dev/tests/google.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h1>PDFObject Example: Using Google Docs Viewer as a fallback</h1>
</ul>
<div id="pdf"></div>

<script src="/pdfobject.js"></script>
<script src="/dev/pdfobject.2.3b.js"></script>
<script>

let url = "https://pdfobject.com/pdf/sample.pdf";
Expand Down
3 changes: 1 addition & 2 deletions dev/tests/pdf-open-params.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ <h1>PDFObject Example: PDF Open Parameters</h1>
</div>
</div>

<!-- <script src="/dev/pdfobject.2.3b.js"></script> -->
<script src="/pdfobject.js"></script>
<script src="/dev/pdfobject.2.3b.js"></script>
<script>

let last_embedded = "";
Expand Down

0 comments on commit b3e5ea1

Please sign in to comment.