mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Not all modules should be able to load all other modules. A predicate function can to be passed to the `ScriptInterface`. That function returns whether the module is allowed to loat the module. If no predicate is passed in no modules can be loaded through that `ScriptInterface`. |
||
|---|---|---|
| .. | ||
| export_default | ||
| include | ||
| modified | ||
| restriction | ||
| blabbermouth.js | ||
| delayed_blabbermouth.js | ||
| dynamic_import.js | ||
| empty.js | ||
| empty~trigger.append.js | ||
| export.js | ||
| import_inside_function.js | ||
| indirect.js | ||
| meta.js | ||
| top_level_await_finite.js | ||
| top_level_await_infinite.js | ||
| top_level_throw.js | ||