From 1adab3e040363e2855d9b11972f2a1e11ec9b071 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Tue, 19 Jun 2012 02:57:00 +0200 Subject: scratch: port scratch module to lua 5.2 --- scratch/init.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scratch/init.lua') 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 -- cgit v1.2.3