From 6c2b7297ef6ed9945dcbf984475a975a17ddbf24 Mon Sep 17 00:00:00 2001 From: wSedlacek Date: Thu, 28 Dec 2023 07:39:16 -0800 Subject: [PATCH] Web Worker Support --- browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser.js b/browser.js index b8a4781..ae0fbfa 100644 --- a/browser.js +++ b/browser.js @@ -1 +1 @@ -module.exports = window.DOMPurify || (window.DOMPurify = require('dompurify').default || require('dompurify')); +module.exports = self.DOMPurify || (self.DOMPurify = require('dompurify').default || require('dompurify'));