mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
lint compliance
This commit is contained in:
parent
e8ec189027
commit
954c38d80e
@ -44,6 +44,7 @@ module.exports = [{
|
||||
"www/code/mermaid*.js",
|
||||
"www/code/orgmode.js",
|
||||
"testapi.js",
|
||||
"rollup.config.mjs",
|
||||
"**/src/tweetnacl"
|
||||
],
|
||||
}, ...compat.extends("eslint:recommended", "plugin:compat/recommended"), {
|
||||
|
||||
@ -67,7 +67,6 @@ const factory = function () {
|
||||
return void resolve({postMsg, msgEv});
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-constant-condition
|
||||
if (!noWorker && typeof(Worker) !== "undefined") {
|
||||
worker = new Worker('/common/worker.bundle.js?' + urlArgs);
|
||||
worker.onerror = function (e) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user