From ebfe338283d6f0dae2d23c2a2b2fc8ad48791f9b Mon Sep 17 00:00:00 2001 From: Philip Hutchison Date: Wed, 14 Feb 2024 00:40:39 -0800 Subject: [PATCH] Updated examples to load pdfobject.js from unpkg CDN --- .../examples/apostrophe-in-filename.html | 2 +- docs/public/examples/base64.html | 2 +- docs/public/examples/basic.html | 2 +- .../examples/conditional-js-advanced.html | 2 +- docs/public/examples/conditional-js.html | 2 +- docs/public/examples/custom-attribute.html | 2 +- .../public/examples/declining-a-fallback.html | 2 +- .../detection-navigator-pdfViewerEnabled.html | 2 +- docs/public/examples/detection.html | 2 +- docs/public/examples/embed-multiple-PDFs.html | 2 +- .../public/examples/full-browser-default.html | 2 +- .../full-browser-explicit-pdfparams.html | 2 +- .../examples/full-browser-explicit.html | 2 +- docs/public/examples/google.html | 2 +- docs/public/examples/omit-inline-styles.html | 2 +- .../passing-element-jquery-styled.html | 2 +- .../examples/passing-element-jquery.html | 2 +- .../examples/passing-element-styled.html | 2 +- docs/public/examples/passing-element.html | 2 +- .../examples/passing-selector-styled.html | 2 +- docs/public/examples/passing-selector.html | 2 +- docs/public/examples/pdf-open-params.html | 2 +- .../pdfjs-forced-with-querystring.html | 2 +- docs/public/examples/pdfjs-forced.html | 2 +- docs/public/examples/pdfjs.html | 2 +- .../examples/querystring-URL-with-params.html | 2 +- docs/public/examples/querystring-URL.html | 2 +- .../examples/replace-PDF-with-second-PDF.html | 2 +- docs/public/examples/setting-title.html | 2 +- .../specifying-custom-fallback-link.html | 2 +- .../specifying-page-number-thumbnails.html | 2 +- .../examples/specifying-page-number.html | 2 +- docs/public/pdfobject.js | 400 ------------------ 33 files changed, 32 insertions(+), 432 deletions(-) delete mode 100644 docs/public/pdfobject.js diff --git a/docs/public/examples/apostrophe-in-filename.html b/docs/public/examples/apostrophe-in-filename.html index ce47009..1f3bb5e 100644 --- a/docs/public/examples/apostrophe-in-filename.html +++ b/docs/public/examples/apostrophe-in-filename.html @@ -35,7 +35,7 @@

PDFObject Example: Specifying a URL containing an apostrophe

- + diff --git a/docs/public/examples/base64.html b/docs/public/examples/base64.html index 9a2f22f..4dfaa17 100644 --- a/docs/public/examples/base64.html +++ b/docs/public/examples/base64.html @@ -35,7 +35,7 @@

PDFObject Example: Embedding a PDF encoded as a Base64 string

- + + diff --git a/docs/public/examples/conditional-js-advanced.html b/docs/public/examples/conditional-js-advanced.html index d8053ce..cd2ff54 100644 --- a/docs/public/examples/conditional-js-advanced.html +++ b/docs/public/examples/conditional-js-advanced.html @@ -42,7 +42,7 @@

PDFObject Example: Invoking conditional JavaScript upon successful embed (on
- + + + + diff --git a/docs/public/examples/detection-navigator-pdfViewerEnabled.html b/docs/public/examples/detection-navigator-pdfViewerEnabled.html index 24a809c..27ffabb 100644 --- a/docs/public/examples/detection-navigator-pdfViewerEnabled.html +++ b/docs/public/examples/detection-navigator-pdfViewerEnabled.html @@ -30,7 +30,7 @@

PDFObject Example: Detection using navigator.pdfViewerEnabled

- + + + + diff --git a/docs/public/examples/full-browser-explicit-pdfparams.html b/docs/public/examples/full-browser-explicit-pdfparams.html index 745c20f..08453d4 100644 --- a/docs/public/examples/full-browser-explicit-pdfparams.html +++ b/docs/public/examples/full-browser-explicit-pdfparams.html @@ -16,7 +16,7 @@ - + + diff --git a/docs/public/examples/google.html b/docs/public/examples/google.html index 16760af..32a294d 100644 --- a/docs/public/examples/google.html +++ b/docs/public/examples/google.html @@ -57,7 +57,7 @@

PDFObject Example: Using Google Docs Viewer as a fallback

- + + diff --git a/docs/public/examples/passing-element-jquery-styled.html b/docs/public/examples/passing-element-jquery-styled.html index 0429eea..0a8fcf9 100644 --- a/docs/public/examples/passing-element-jquery-styled.html +++ b/docs/public/examples/passing-element-jquery-styled.html @@ -36,7 +36,7 @@

PDFObject Example: Simple embed, passing jQuery element, with CSS styles app
- + - + + + + diff --git a/docs/public/examples/passing-selector.html b/docs/public/examples/passing-selector.html index 81c10c3..31b8355 100644 --- a/docs/public/examples/passing-selector.html +++ b/docs/public/examples/passing-selector.html @@ -35,7 +35,7 @@

PDFObject Example: Simple embed using CSS selector

- + diff --git a/docs/public/examples/pdf-open-params.html b/docs/public/examples/pdf-open-params.html index 0d13395..d8b238d 100644 --- a/docs/public/examples/pdf-open-params.html +++ b/docs/public/examples/pdf-open-params.html @@ -227,7 +227,7 @@

PDFObject Example: PDF Open Parameters

- + + + + + + diff --git a/docs/public/examples/replace-PDF-with-second-PDF.html b/docs/public/examples/replace-PDF-with-second-PDF.html index 81b04dd..8a4c538 100644 --- a/docs/public/examples/replace-PDF-with-second-PDF.html +++ b/docs/public/examples/replace-PDF-with-second-PDF.html @@ -42,7 +42,7 @@

PDFObject Example: Replace one PDF with another

- + + + + +