1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Desktop: Fix viewer and panel plugins that check for the presence of exports fail to load (#10900)

This commit is contained in:
Henry Heino 2024-08-22 13:52:29 -07:00 committed by GitHub
parent 6a0dd4e20d
commit beff45e195
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 6 deletions

View File

@ -46,9 +46,6 @@
<script src="./scrollmap.js"></script>
<script>
// Fixes a warning when loading some TypeScript plugins generated with webpack.
window.exports = {};
// This is function used internally to send message from the webview to
// the host.
const ipcProxySendToHost = (methodName, arg) => {

View File

@ -2,9 +2,6 @@
const webviewApiPromises_ = {};
let viewMessageHandler_ = () => {};
// This silences a warning when running plugins generated with Webpack.
window.exports ??= {};
// eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
const webviewApi = {
postMessage: function(message) {