Recently, I stumbled upon the amazing StratifiedJS library that offers many features I find essential. It functions flawlessly when implemented directly in my HTML file, like so:
<script src="libraries/stratified.js"></script>
<script type="text/sjs">
</script>
However, when I attempt to use it in an external script following the official documentation at: , it fails to work as expected.
<script src="http://[...]/stratified.js" main="./init"></script>
Every time, the console displays the following error message:
Not Found (404)
at apollo-sys-xbrowser.sjs:345
at apollo-sys-common.sjs:1071
at apollo-sys-common.sjs:957
at apollo-sys-common.sjs:1006
at apollo-sys-common.sjs:1028
at apollo-sys-common.sjs:1219
at apollo-sys-common.sjs:716
at apollo-sys-xbrowser.sjs:536
Note: I have modified the path to the stratified.js file.
I am currently at a loss and would appreciate it if someone could shed some light on what I might be doing incorrectly. Thank you.