mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
7 lines
247 B
JavaScript
7 lines
247 B
JavaScript
// Our TypeScript config generates files that use CommonJS `export`s, which
|
|
// aren't defined in a browser.
|
|
//
|
|
// While this is (somehow) fine in Chrome, it breaks the extension in Firefox.
|
|
// We thus define window.exports:
|
|
window.exports ??= {};
|