about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-07-11 22:11:48 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-07-11 22:11:58 -0700
commit3dccd7f81abff050a37b5a65eb5e3cc6756a4b7f (patch)
tree55bfdeca3143b269616f348efa29869f74db3cef /main.lua
parente68d235c5fd455c6629f14b7219d376049c61481 (diff)
downloadlines.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 'main.lua')
-rw-r--r--main.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.lua b/main.lua
index 3cb822e..72b6834 100644
--- a/main.lua
+++ b/main.lua
@@ -1,4 +1,4 @@
-local utf8 = require 'utf8'
+utf8 = require 'utf8'
 
 require 'app'
 require 'test'
@@ -6,9 +6,9 @@ require 'test'
 require 'keychord'
 require 'file'
 require 'button'
-local Text = require 'text'
-local Drawing = require 'drawing'
-local geom = require 'geom'
+require 'text'
+require 'drawing'
+require 'geom'
 require 'help'
 require 'icons'