-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 fix(PdfMobileViewer): compatible with old browsers (#2119)
* 🐛 fix(PdfMobileViewer): compatible with old browsers * build js
- Loading branch information
Showing
11 changed files
with
41 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import "core-js/modules/es.array.at.js"; | ||
import "core-js/modules/es.string.replace-all"; | ||
import "core-js/modules/web.structured-clone.js"; | ||
import "core-js/proposals/promise-with-resolvers"; | ||
|
||
import * as pdfworker from "pdfjs-dist/build/pdf.worker.mjs"; | ||
export default pdfworker; |
2 changes: 2 additions & 0 deletions
2
src/Masa.Blazor/wwwroot/js/proxies/pdf-mobile-viewer/es.promise.with-resolvers-1c8ab4c1.js
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
...asa.Blazor/wwwroot/js/proxies/pdf-mobile-viewer/es.promise.with-resolvers-1c8ab4c1.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
src/Masa.Blazor/wwwroot/js/proxies/pdf-mobile-viewer/mobile-viewer.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
src/Masa.Blazor/wwwroot/js/proxies/pdf-mobile-viewer/mobile-viewer.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
src/Masa.Blazor/wwwroot/js/proxies/pdf-mobile-viewer/pdf.worker.js
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
src/Masa.Blazor/wwwroot/js/proxies/pdf-mobile-viewer/pdf.worker.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
src/Masa.Blazor/wwwroot/js/proxies/pdf-mobile-viewer/pdf.worker.min.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
src/Masa.Blazor/wwwroot/js/proxies/pdf-mobile-viewer/pdf.worker.min.js.map
This file was deleted.
Oops, something went wrong.