Recherche partout (#68) : JS compatible ESM (test ObsiGate)
FlowDeck CI / lint (push) Failing after 3s
FlowDeck CI / test (push) Failing after 1s
FlowDeck CI / docker (push) Skipped
FlowDeck CI / lint (pull_request) Failing after 1s
FlowDeck CI / test (pull_request) Failing after 1s
FlowDeck CI / docker (pull_request) Skipped
FlowDeck CI / lint (push) Failing after 3s
FlowDeck CI / test (push) Failing after 1s
FlowDeck CI / docker (push) Skipped
FlowDeck CI / lint (pull_request) Failing after 1s
FlowDeck CI / test (pull_request) Failing after 1s
FlowDeck CI / docker (pull_request) Skipped
This commit is contained in:
+11
-1
@@ -39,6 +39,10 @@
|
|||||||
*/
|
*/
|
||||||
(function (global) {
|
(function (global) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
/* globalThis : le fichier est chargé comme script classique dans les
|
||||||
|
* navigateurs, requis en CJS par les tests TikTak/Kanbante/Flowdeck,
|
||||||
|
* et importé en ESM par le test ObsiGate (frontend/js est "type":
|
||||||
|
* "module") — où `this` de niveau supérieur vaut undefined. */
|
||||||
|
|
||||||
var PROD = {
|
var PROD = {
|
||||||
obsigate: "https://og.dracodev.net/",
|
obsigate: "https://og.dracodev.net/",
|
||||||
@@ -501,4 +505,10 @@
|
|||||||
} else {
|
} else {
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
})(typeof window !== "undefined" ? window : this);
|
})(
|
||||||
|
typeof window !== "undefined"
|
||||||
|
? window
|
||||||
|
: typeof globalThis !== "undefined"
|
||||||
|
? globalThis
|
||||||
|
: this
|
||||||
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user