mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
move events library implementation to core:internal/events & disable access to core:internal modules outside of stdlib
This commit is contained in:
parent
5785b9fdda
commit
3760fb86f7
6 changed files with 67 additions and 59 deletions
|
|
@ -43,11 +43,8 @@ function build_files_list(filenames, highlighted_part)
|
|||
end
|
||||
end
|
||||
|
||||
function on_open(mode)
|
||||
registry = require "core:internal/scripts_registry"
|
||||
|
||||
local files_list = document.filesList
|
||||
|
||||
function on_open()
|
||||
registry = __vc_scripts_registry
|
||||
filenames = registry.filenames
|
||||
table.sort(filenames)
|
||||
build_files_list(filenames)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue