summaryrefslogtreecommitdiff
path: root/scratch/init.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2012-06-19 02:57:00 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-06-19 02:57:00 +0200
commit1adab3e040363e2855d9b11972f2a1e11ec9b071 (patch)
tree8da209ccd59ca6133d46a072113942651f04f0c8 /scratch/init.lua
parentac9c2f45592980138cb632c49f6c213c67a8fef9 (diff)
downloadawesome-configs-1adab3e040363e2855d9b11972f2a1e11ec9b071.tar.xz
scratch: port scratch module to lua 5.2
Diffstat (limited to 'scratch/init.lua')
-rw-r--r--scratch/init.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/scratch/init.lua b/scratch/init.lua
index eb037fc..f3b3e7e 100644
--- a/scratch/init.lua
+++ b/scratch/init.lua
@@ -6,7 +6,9 @@
-- * http://sam.zoy.org/wtfpl/COPYING
---------------------------------------------------------------
-require("scratch.pad")
-require("scratch.drop")
+local scratch = {} -- module scratch
-module("scratch")
+scratch.pad = require("scratch.pad")
+scratch.drop = require("scratch.drop")
+
+return scratch