diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-07-11 22:11:48 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-07-11 22:11:58 -0700 |
commit | 3dccd7f81abff050a37b5a65eb5e3cc6756a4b7f (patch) | |
tree | 55bfdeca3143b269616f348efa29869f74db3cef /file.lua | |
parent | e68d235c5fd455c6629f14b7219d376049c61481 (diff) | |
download | lines.love-3dccd7f81abff050a37b5a65eb5e3cc6756a4b7f.tar.gz |
stop pretending globals are local
One advantage of this approach: we don't end up with multiple lexical scopes containing duplicates of the same modules.
Diffstat (limited to 'file.lua')
-rw-r--r-- | file.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/file.lua b/file.lua index 92561bd..c5946d6 100644 --- a/file.lua +++ b/file.lua @@ -1,6 +1,4 @@ -- primitives for saving to file and loading from file -Drawing = require 'drawing' - function load_from_disk(filename) local infile = App.open_for_reading(filename) local result = load_from_file(infile) |