some more cleanup after the undo

This commit is contained in:
Kartik K. Agaram 2023-04-16 10:42:27 -07:00
parent 209c380852
commit b0bcea8f95
1 changed files with 3 additions and 4 deletions

View File

@ -27,7 +27,7 @@ Live = {}
-- these will be modified live
on = {}
-- ========= on startup, load the version at head
-- === on startup, load the version at head
function live.initialize(arg)
-- version control
@ -152,7 +152,7 @@ function live.versioned_manifest(index)
return ('%04d-fwmanifest'):format(index)
end
-- ========= on each frame, check for messages and alter the app as needed
-- === on each frame, check for messages and alter the app as needed
function live.update(dt)
if Current_time - Live.previous_read > 0.1 then
@ -330,7 +330,7 @@ function live.eval(buf)
end
end
-- === infrastructure for performing various safety checks on any new definition
-- === infrastructure for performing safety checks on any new definition
-- Everything that exists before we start loading the live files is frozen and
-- can't be edited live.
@ -363,7 +363,6 @@ function live.full_name(scopes, name)
return ns..'.'..name
end
-- === on error, pause the app and wait for messages
-- return nil to continue the event loop, non-nil to quit