From d7dd7e74c68f715655c5c4e497b9f82ef336202e Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 25 Sep 2008 18:35:42 +0000 Subject: Moved cfe into mvc.lua and removed cfe.lua. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1518 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/cfe.lua | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 lib/cfe.lua (limited to 'lib/cfe.lua') diff --git a/lib/cfe.lua b/lib/cfe.lua deleted file mode 100644 index 34a249d..0000000 --- a/lib/cfe.lua +++ /dev/null @@ -1,15 +0,0 @@ -module(..., package.seeall) - --- create a Configuration Framework Entity (cfe) --- returns a table with at least "value", "type", and "label" -cfe = function ( optiontable ) - optiontable = optiontable or {} - me = { value="", - type="text", - label="" } - for key,value in pairs(optiontable) do - me[key] = value - end - return me -end -_G.cfe = cfe -- cgit v1.2.3