summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/test_luafloater_gesture_list.lua
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-08-23 17:18:14 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-08-23 17:18:14 -0400
commita80b9487dc7c893f5e96f48f15140a5f82b99e30 (patch)
treed6f048acac23e5f5cdb72920587f0ca240dbb1ca /indra/newview/scripts/lua/test_luafloater_gesture_list.lua
parent7ee93ea34dfc41640f852279888bbee0cafcecbe (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/newview/scripts/lua/test_luafloater_gesture_list.lua')
0 files changed, 0 insertions, 0 deletions