-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Hi folks, as I specified at the title I'm getting XPathEvaluator
error when I'm loading everything with partytown. Let me show the code:
<script type="text/javascript" src="~partytown/partytown.js"></script>
<meta name="htmx-config"
content='{"responseHandling": [{"code":"...", "swap": true}], "historyCacheSize": 0, "getCacheBusterParam": true}' />
<script type="text/partytown"
src="https://cdnjs.cloudflare.com/ajax/libs/htmx/2.0.6/htmx.min.js"></script>
The error: TypeError: XPathEvaluator is not a constructor
Also I have a javascript file which contains general functions but other javascript files can't reach to these functions. For example there is functions.js
and auth.js
files. There is a function which name is showAlert()
in functions.js
and I'm trying to invoke this function in auth.js
file. But I'm getting that error: showAlert is not defined
.
Do you have any suggestion? Thanks.
Metadata
Metadata
Assignees
Labels
No labels