From d08fb7519506cd422b6a9c67f71c5df118f91899 Mon Sep 17 00:00:00 2001 From: maggievu Date: Fri, 24 Jun 2022 11:57:41 -0700 Subject: [PATCH] Updates --- asset-manifest.json | 6 +++--- index.html | 2 +- ... precache-manifest.57796e91902f2cc5d3b1905bd754a66a.js | 8 ++++---- service-worker.js | 2 +- static/js/main.be657363.chunk.js | 2 -- static/js/main.be657363.chunk.js.map | 1 - static/js/main.d8bbaeb7.chunk.js | 2 ++ static/js/main.d8bbaeb7.chunk.js.map | 1 + 8 files changed, 12 insertions(+), 12 deletions(-) rename precache-manifest.da86449fca03e464b4668421f7d4cca9.js => precache-manifest.57796e91902f2cc5d3b1905bd754a66a.js (68%) delete mode 100644 static/js/main.be657363.chunk.js delete mode 100644 static/js/main.be657363.chunk.js.map create mode 100644 static/js/main.d8bbaeb7.chunk.js create mode 100644 static/js/main.d8bbaeb7.chunk.js.map diff --git a/asset-manifest.json b/asset-manifest.json index 5c94a29..c1dad4b 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,13 +1,13 @@ { "main.css": "/webviewer-react-sample/static/css/main.7af49e68.chunk.css", - "main.js": "/webviewer-react-sample/static/js/main.be657363.chunk.js", - "main.js.map": "/webviewer-react-sample/static/js/main.be657363.chunk.js.map", + "main.js": "/webviewer-react-sample/static/js/main.d8bbaeb7.chunk.js", + "main.js.map": "/webviewer-react-sample/static/js/main.d8bbaeb7.chunk.js.map", "static/js/1.695143d2.chunk.js": "/webviewer-react-sample/static/js/1.695143d2.chunk.js", "static/js/1.695143d2.chunk.js.map": "/webviewer-react-sample/static/js/1.695143d2.chunk.js.map", "runtime~main.js": "/webviewer-react-sample/static/js/runtime~main.23dd03fb.js", "runtime~main.js.map": "/webviewer-react-sample/static/js/runtime~main.23dd03fb.js.map", "static/css/main.7af49e68.chunk.css.map": "/webviewer-react-sample/static/css/main.7af49e68.chunk.css.map", "index.html": "/webviewer-react-sample/index.html", - "precache-manifest.da86449fca03e464b4668421f7d4cca9.js": "/webviewer-react-sample/precache-manifest.da86449fca03e464b4668421f7d4cca9.js", + "precache-manifest.57796e91902f2cc5d3b1905bd754a66a.js": "/webviewer-react-sample/precache-manifest.57796e91902f2cc5d3b1905bd754a66a.js", "service-worker.js": "/webviewer-react-sample/service-worker.js" } \ No newline at end of file diff --git a/index.html b/index.html index 8d87e4a..6e26478 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -React Sample
\ No newline at end of file +React Sample
\ No newline at end of file diff --git a/precache-manifest.da86449fca03e464b4668421f7d4cca9.js b/precache-manifest.57796e91902f2cc5d3b1905bd754a66a.js similarity index 68% rename from precache-manifest.da86449fca03e464b4668421f7d4cca9.js rename to precache-manifest.57796e91902f2cc5d3b1905bd754a66a.js index 6f371c6..510faf1 100644 --- a/precache-manifest.da86449fca03e464b4668421f7d4cca9.js +++ b/precache-manifest.57796e91902f2cc5d3b1905bd754a66a.js @@ -1,11 +1,11 @@ self.__precacheManifest = [ { - "revision": "be6573639b99548fa95c", + "revision": "d8bbaeb7d678c394a416", "url": "/webviewer-react-sample/static/css/main.7af49e68.chunk.css" }, { - "revision": "be6573639b99548fa95c", - "url": "/webviewer-react-sample/static/js/main.be657363.chunk.js" + "revision": "d8bbaeb7d678c394a416", + "url": "/webviewer-react-sample/static/js/main.d8bbaeb7.chunk.js" }, { "revision": "695143d22b6e609a2a4c", @@ -16,7 +16,7 @@ self.__precacheManifest = [ "url": "/webviewer-react-sample/static/js/runtime~main.23dd03fb.js" }, { - "revision": "4b933a9a2367080480a4e16b948528e9", + "revision": "1645fa85e4b5c701cd80b408371c1b7f", "url": "/webviewer-react-sample/index.html" } ]; \ No newline at end of file diff --git a/service-worker.js b/service-worker.js index a75a70c..1863fa5 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts( - "/webviewer-react-sample/precache-manifest.da86449fca03e464b4668421f7d4cca9.js" + "/webviewer-react-sample/precache-manifest.57796e91902f2cc5d3b1905bd754a66a.js" ); workbox.clientsClaim(); diff --git a/static/js/main.be657363.chunk.js b/static/js/main.be657363.chunk.js deleted file mode 100644 index 791031e..0000000 --- a/static/js/main.be657363.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{11:function(e,n,t){},13:function(e,n,t){"use strict";t.r(n);var a=t(0),c=t.n(a),r=t(2),i=t.n(r),l=(t(9),t(3)),s=t.n(l),o=(t(11),function(){var e=Object(a.useRef)(null);return Object(a.useEffect)(function(){s()({path:"/webviewer-react-sample/webviewer/lib",initialDoc:"/webviewer-react-sample/files/outlines-nested.pdf"},e.current).then(function(e){e.UI.enableElements(["bookmarksPanel","bookmarksPanelButton"])})},[]),c.a.createElement("div",{className:"App"},c.a.createElement("div",{className:"header"},"React sample"),c.a.createElement("div",{className:"webviewer",ref:e}))});i.a.render(c.a.createElement(o,null),document.getElementById("root"))},4:function(e,n,t){e.exports=t(13)},9:function(e,n,t){}},[[4,2,1]]]); -//# sourceMappingURL=main.be657363.chunk.js.map \ No newline at end of file diff --git a/static/js/main.be657363.chunk.js.map b/static/js/main.be657363.chunk.js.map deleted file mode 100644 index 7b8220c..0000000 --- a/static/js/main.be657363.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["App.js","index.js"],"names":["App","viewer","useRef","useEffect","WebViewer","path","initialDoc","current","then","instance","UI","enableElements","react_default","a","createElement","className","ref","ReactDOM","render","src_App_0","document","getElementById"],"mappings":"gLA+BeA,SA3BH,WACV,IAAMC,EAASC,iBAAO,MAkBtB,OAfAC,oBAAU,WACRC,IACE,CACEC,KAAM,wCACNC,WAAY,qDAEdL,EAAOM,SACPC,KAAK,SAACC,GACNA,EAASC,GAAGC,eAAe,CACzB,iBACA,4BAGH,IAGDC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,OACbH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,UAAf,gBACAH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,YAAYC,IAAKf,OCrBtCgB,IAASC,OAAON,EAAAC,EAAAC,cAACK,EAAD,MAASC,SAASC,eAAe","file":"static/js/main.be657363.chunk.js","sourcesContent":["import React, { useRef, useEffect } from 'react';\nimport WebViewer from '@pdftron/webviewer';\nimport './App.css';\n\nconst App = () => {\n const viewer = useRef(null);\n\n // if using a class, equivalent of componentDidMount \n useEffect(() => {\n WebViewer(\n {\n path: '/webviewer-react-sample/webviewer/lib',\n initialDoc: '/webviewer-react-sample/files/outlines-nested.pdf',\n },\n viewer.current,\n ).then((instance) => {\n instance.UI.enableElements([\n 'bookmarksPanel',\n 'bookmarksPanelButton',\n ]);\n });\n }, []);\n\n return (\n
\n
React sample
\n
\n
\n );\n};\n\nexport default App;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\n\nReactDOM.render(, document.getElementById('root'));\n"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.d8bbaeb7.chunk.js b/static/js/main.d8bbaeb7.chunk.js new file mode 100644 index 0000000..9694f6d --- /dev/null +++ b/static/js/main.d8bbaeb7.chunk.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{11:function(e,n,t){},13:function(e,n,t){"use strict";t.r(n);var a=t(0),c=t.n(a),o=t(2),r=t.n(o),i=(t(9),t(3)),l=t.n(i),s=(t(11),function(){var e=Object(a.useRef)(null);return Object(a.useEffect)(function(){l()({path:"/webviewer/lib",initialDoc:"/files/outlines-nested.pdf"},e.current).then(function(e){e.UI.enableElements(["bookmarksPanel","bookmarksPanelButton"])})},[]),c.a.createElement("div",{className:"App"},c.a.createElement("div",{className:"header"},"React sample"),c.a.createElement("div",{className:"webviewer",ref:e}))});r.a.render(c.a.createElement(s,null),document.getElementById("root"))},4:function(e,n,t){e.exports=t(13)},9:function(e,n,t){}},[[4,2,1]]]); +//# sourceMappingURL=main.d8bbaeb7.chunk.js.map \ No newline at end of file diff --git a/static/js/main.d8bbaeb7.chunk.js.map b/static/js/main.d8bbaeb7.chunk.js.map new file mode 100644 index 0000000..64de992 --- /dev/null +++ b/static/js/main.d8bbaeb7.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["App.js","index.js"],"names":["App","viewer","useRef","useEffect","WebViewer","path","initialDoc","current","then","instance","UI","enableElements","react_default","a","createElement","className","ref","ReactDOM","render","src_App_0","document","getElementById"],"mappings":"gLA+BeA,SA3BH,WACV,IAAMC,EAASC,iBAAO,MAkBtB,OAfAC,oBAAU,WACRC,IACE,CACEC,KAAM,iBACNC,WAAY,8BAEdL,EAAOM,SACPC,KAAK,SAACC,GACNA,EAASC,GAAGC,eAAe,CACzB,iBACA,4BAGH,IAGDC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,OACbH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,UAAf,gBACAH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,YAAYC,IAAKf,OCrBtCgB,IAASC,OAAON,EAAAC,EAAAC,cAACK,EAAD,MAASC,SAASC,eAAe","file":"static/js/main.d8bbaeb7.chunk.js","sourcesContent":["import React, { useRef, useEffect } from 'react';\nimport WebViewer from '@pdftron/webviewer';\nimport './App.css';\n\nconst App = () => {\n const viewer = useRef(null);\n\n // if using a class, equivalent of componentDidMount \n useEffect(() => {\n WebViewer(\n {\n path: '/webviewer/lib',\n initialDoc: '/files/outlines-nested.pdf',\n },\n viewer.current,\n ).then((instance) => {\n instance.UI.enableElements([\n 'bookmarksPanel',\n 'bookmarksPanelButton',\n ]);\n });\n }, []);\n\n return (\n
\n
React sample
\n
\n
\n );\n};\n\nexport default App;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\n\nReactDOM.render(, document.getElementById('root'));\n"],"sourceRoot":""} \ No newline at end of file