Modules.nas: Difference between revisions

Jump to navigation Jump to search
m
fix double redirect
m (fix double redirect)
 
Line 127: Line 127:
(for example without restarting FlightGear as a whole) by tracking some critical resources like [[listeners]] and [[timers]].
(for example without restarting FlightGear as a whole) by tracking some critical resources like [[listeners]] and [[timers]].


{{note|Parts of this functionality were added to the [[addons]] manager earlier and have now been extracted to avoid code duplication.}}
{{note|Parts of this functionality were added to the [[addon]] manager earlier and have now been extracted to avoid code duplication.}}


{{caution|Within a module <code>setlistener()</code> is overloaded and the default value for the 4th argument (runtime) is changed to <code>0</code>, so the listener will run only if the property value has changed.}}
{{caution|Within a module <code>setlistener()</code> is overloaded and the default value for the 4th argument (runtime) is changed to <code>0</code>, so the listener will run only if the property value has changed.}}

Navigation menu