mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +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 ??= {};
|