From 1797dfb692796d7731cea0251528c2bc24a62ac1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 26 Apr 2023 19:23:25 +0200 Subject: [PATCH] misc: client shim update --- scripts/client-shim.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/client-shim.js b/scripts/client-shim.js index facf547a..2818ca9d 100644 --- a/scripts/client-shim.js +++ b/scripts/client-shim.js @@ -66,10 +66,12 @@ window = { WebSocket: Object, localStorage: { getItem(){return null} - }, sessionStorage: { + }, + sessionStorage: { getItem(){return null}, setItem(){}, - }, + }, + MutationObserver: class MutationObserver{} } Object.assign(global, window)