summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/util.lua
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-03-25 15:06:11 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-03-25 15:06:11 +0200
commit41e14d35ae2dfa644716cb195545d59c468538c5 (patch)
tree339bf4dbfd1ac6e66871b7bc2563df6435d335e7 /indra/newview/scripts/lua/util.lua
parent7bf84bdcbf13084ff3b94590e4061b4a6708b4dc (diff)
Add keystroke event support and allow adding text lines to the line editor
Diffstat (limited to 'indra/newview/scripts/lua/util.lua')
-rw-r--r--indra/newview/scripts/lua/util.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/newview/scripts/lua/util.lua b/indra/newview/scripts/lua/util.lua
index 5d6042dfe5..e3af633ea7 100644
--- a/indra/newview/scripts/lua/util.lua
+++ b/indra/newview/scripts/lua/util.lua
@@ -36,14 +36,4 @@ function util.equal(t1, t2)
return util.empty(temp)
end
--- check if array-like table contains certain value
-function util.contains(t, v)
- for _, value in ipairs(t) do
- if value == v then
- return true
- end
- end
- return false
-end
-
return util