Possibly usc scittle in a gecko browser or app? #82
Replies: 3 comments 5 replies
-
@kangaroolab Firefox 60 is pretty old, current version is 120. But a workaround could be to add: <script>var globalThis = window</script> before you load scittle. |
Beta Was this translation helpful? Give feedback.
-
I am using one on Linux (linux on my chromebook). here is the doc about components from Mozilla: https://udn.realityripple.com/docs/Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.import the DOM model seems to be different between HTML and XHTML. but not sure how tostring is related. by looking at scittle.js code, I suspect following is where the error is: any insight? |
Beta Was this translation helpful? Give feedback.
-
Thanks! Last quick question - is there a way to use scittle in a node.js app if it runs 3rd party js module? |
Beta Was this translation helpful? Give feedback.
-
I have a gecko app (based on firefox 60). I tried to import scittle.js but got error:
ReferenceError: globalThis is not defined
my understanding is globalThis is not available with firefox 60. any way to fake it to make it work?
Beta Was this translation helpful? Give feedback.
All reactions