Diff

util/array.lua @ 6777:5de6b93d0190

util.*: Remove use of module() function, make all module functions local and return them in a table at the end
author Kim Alvefur <zash@zash.se>
date Sat, 21 Feb 2015 10:36:37 +0100
parent 6417:060b63a27e9b
child 7019:abcd5ec3ee41
line wrap: on
line diff
--- a/util/array.lua	Mon Aug 10 22:16:05 2015 +0200
+++ b/util/array.lua	Sat Feb 21 10:36:37 2015 +0100
@@ -169,7 +169,4 @@
 	end
 end
 
-_G.array = array;
-module("array");
-
 return array;