about summary refs log tree commit diff stats
path: root/drawing.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 /drawing.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 'drawing.lua')
-rw-r--r--drawing.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/drawing.lua b/drawing.lua
index 3ed1b3f..8668915 100644
--- a/drawing.lua
+++ b/drawing.lua
@@ -1,7 +1,5 @@
 -- primitives for editing drawings
 Drawing = {}
-geom = require 'geom'
-
 require 'drawing_tests'
 
 -- All drawings span 100% of some conceptual 'page width' and divide it up
@@ -719,5 +717,3 @@ function table.find(h, x)
     end
   end
 end
-
-return Drawing