Skip to content

Commit d8de5b6

Browse files
951648: Updated code
1 parent 4efe130 commit d8de5b6

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Content Security Policy/src/app/app.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ import { PdfViewer, TextSelection, TextSearch, Print, Navigation, Toolbar, Magni
44
// Inject required modules
55
PdfViewer.Inject(TextSelection, TextSearch, Print, Navigation, Toolbar, Magnification, Annotation, FormDesigner, FormFields);
66

7-
// const pdfviewer: PdfViewer = new PdfViewer({
8-
// documentPath: 'https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf',
9-
// resourceUrl: "https://cdn.syncfusion.com/ej2/27.2.5/dist/ej2-pdfviewer-lib",
10-
// });
11-
// pdfviewer.appendTo('#PdfViewer');
12-
137
const pdfviewer: PdfViewer = new PdfViewer();
148
pdfviewer.documentPath = "https://cdn.syncfusion.com/content/pdf/gis-succinctly.pdf";
15-
pdfviewer.resourceUrl="https://cdn.syncfusion.com/ej2/29.1.35/dist/ej2-pdfviewer-lib";
9+
pdfviewer.resourceUrl="https://cdn.syncfusion.com/ej2/29.1.37/dist/ej2-pdfviewer-lib";
1610
pdfviewer.appendTo('#PdfViewer');

Content Security Policy/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
img-src 'self' data: blob:;" />
1919
<script src="https://cdn.syncfusion.com/ej2/syncfusion-helper.js" type ="text/javascript"></script>
2020

21-
<link rel="shortcut icon" href="resources/favicon.ico" />
21+
<link rel="shortcut icon" href="../favicon.ico" />
2222
</head>
2323

2424
<body>

0 commit comments

Comments
 (0)