Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  


Installs Duktape module loading.

Component Version macOS Windows Linux Server FileMaker iOS SDK
JS 11.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "JS.InitModules"; JSRef )   More


Parameter Description Example
JSRef The JavaScript reference number. $js


Returns OK or error.


Installs Duktape module loading.
Only calls JS.InitModules once on a new instance of the JavaScript engine.
Define your own Duktape.modSearch() to provide environment specific module lookups.
After these steps, require() will be registered to the global object and the module system is ready to use.

Release notes

  • Version 11.2
    • Added JS.InitModules function.

Blog Entries

Created 24th March 2021, last changed 24th March 2021

JS.GetGlobalPropertyValue   -   JS.New

Feedback: Report problem or ask question.

MBS Xojo Plugins

Start Chat