1
Programs / Re: QBJS - Import code from external .bas files
« on: April 15, 2022, 07:31:34 pm »
@CharlieJV, thanks for the feedback. Security is always a good thing to keep in mind. This feature is modeled to some degree after the standard way JavaScript allows supporting libraries to be included ( https://www.w3schools.com/tags/att_script_src.asp). Like JS these libraries can be loaded from a relative path or from an external location. Even though the modern browser is sandboxed to a large degree to prevent malicious activity discretion is always required of the developer.
In addition, I’m also working on an Export feature for this release which will allow you to export the compiled JavaScript and supporting html files as a zip. The compiled version will incorporate content from any included libraries. This can then be run standalone or is ready to be uploaded to a sharing site like itch.io. This is also available on the qbjs-dev site, where the most current dev build is deployed.
In addition, I’m also working on an Export feature for this release which will allow you to export the compiled JavaScript and supporting html files as a zip. The compiled version will incorporate content from any included libraries. This can then be run standalone or is ready to be uploaded to a sharing site like itch.io. This is also available on the qbjs-dev site, where the most current dev build is deployed.