Logo
Explore Help
Register Sign In
FumeNodes/ox_lib
1
0
Fork 0
You've already forked ox_lib
mirror of https://github.com/CommunityOx/ox_lib.git synced 2026-08-17 15:06:02 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
d0c5f722db6c5f8e5ff255aa661a35e907509b00
ox_lib/resource/main.lua

9 lines
225 B
Lua
Raw Normal View History

feat(resource/streaming): timeout functions after 20 ticks
2021-11-17 03:37:59 +11:00
-- Creates exports from values assigned to lib
-- Hacky workaround for Lua Language Server support
--- Alias for `exports['pe-lualib']`
refactor(init): export cache and update intervals BREAKING CHANGE: lib will store cached export functions and no longer uses the : syntax to call functions. Allow SetInterval to return arguments to the callback function.
2021-12-27 11:10:05 +11:00
feat: add lib table for exports Anything assigned to the table will be exported; it's just a hacky way to provide support for Lua Language Server.
2021-11-16 11:15:34 +11:00
lib = setmetatable({}, {
refactor(init): export cache and update intervals BREAKING CHANGE: lib will store cached export functions and no longer uses the : syntax to call functions. Allow SetInterval to return arguments to the callback function.
2021-12-27 11:10:05 +11:00
__newindex = function(_, name, fn)
chore: vscode is dumb all these spaces make a tab
2021-11-16 19:37:36 +11:00
exports(name, fn)
end
feat: add lib table for exports Anything assigned to the table will be exported; it's just a hacky way to provide support for Lua Language Server.
2021-11-16 11:15:34 +11:00
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 11ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API