246
edits
Line 82: | Line 82: | ||
You can also call {{code| myAircraft.my_efis.reload();}} to trigger the reload. myAircraft is the namespace given in the <aircraft>-set.xml file, my_efis is the module object (see above). | You can also call {{code| myAircraft.my_efis.reload();}} to trigger the reload. myAircraft is the namespace given in the <aircraft>-set.xml file, my_efis is the module object (see above). | ||
|margin=10px |width=50%}} | |margin=10px |width=50%}} | ||
== Nasal frameworks == | |||
Another usecase for Modules.nas is frameworks that need reload support. | |||
A framework usually provides more or less generic functionality that has to be adapted (configured) for a specific usecase (e.g. a specific aircraft). | |||
Reload support may become very convenient, if the customizing based on such framework involves many iterations of edit-reload-test. | |||
= Structure of Nasal reloadable modules = | = Structure of Nasal reloadable modules = |
edits