diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-08-23 17:18:14 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-08-23 17:18:14 -0400 |
commit | a80b9487dc7c893f5e96f48f15140a5f82b99e30 (patch) | |
tree | d6f048acac23e5f5cdb72920587f0ca240dbb1ca /indra/llmessage/lltemplatemessagedispatcher.h | |
parent | 7ee93ea34dfc41640f852279888bbee0cafcecbe (diff) |
Allow UI to have lazily-loaded submodules.
Equip UI with an __index metamethod. When someone references an unknown
key/field in UI, require() that module and cache it for future reference.
Add util.setmetamethods() as a way to find or create a metatable on a
specified table containing specified metamethods.
Exercise the new functionality by referencing UI.popup in test_popup.lua.
Diffstat (limited to 'indra/llmessage/lltemplatemessagedispatcher.h')
0 files changed, 0 insertions, 0 deletions