summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/test_LLFloaterAbout.lua
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-03-14 11:24:51 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-03-14 11:24:51 -0400
commitbac113e30d987d7884c58490e6ea39a1bbd87d05 (patch)
tree0620f4bab572b1cd38ba8e8db03130b1e65ec1f7 /indra/newview/scripts/lua/test_LLFloaterAbout.lua
parente9231a987d64d2ad7e19dee30645409cab0b48e5 (diff)
Add preliminary Lua viewer API modules, with test scripts.
Diffstat (limited to 'indra/newview/scripts/lua/test_LLFloaterAbout.lua')
-rw-r--r--indra/newview/scripts/lua/test_LLFloaterAbout.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/scripts/lua/test_LLFloaterAbout.lua b/indra/newview/scripts/lua/test_LLFloaterAbout.lua
new file mode 100644
index 0000000000..7abc437b79
--- /dev/null
+++ b/indra/newview/scripts/lua/test_LLFloaterAbout.lua
@@ -0,0 +1,14 @@
+-- test LLFloaterAbout
+
+LLFloaterAbout = require('LLFloaterAbout')
+leap = require('leap')
+coro = require('coro')
+inspect = require('inspect')
+
+coro.launch(function ()
+ print(inspect(LLFloaterAbout.getInfo()))
+ leap.done()
+end)
+
+leap.process()
+