Removed underscore from start of globals, added VERSION

eg. `_SCALE` => `SCALE`
prevents conflict with lua's own _NAME globals
This commit is contained in:
rxi
2020-04-25 09:58:01 +01:00
parent bd43ed3e3f
commit c658b6f1ca
6 changed files with 30 additions and 27 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ command.add(nil, {
["core:open-project-file"] = function()
core.command_view:enter("Open Project File", function(text, item)
text = core.project_dir .. _PATHSEP .. (item and item.text or text)
text = core.project_dir .. PATHSEP .. (item and item.text or text)
core.root_view:open_doc(core.open_doc(text))
end, function(text)
local files = {}