big refactoring
This commit is contained in:
+13
-1
@@ -1,4 +1,4 @@
|
||||
aux.module 'persistence'
|
||||
module 'persistence'
|
||||
|
||||
_g.aux_datasets = {}
|
||||
|
||||
@@ -19,6 +19,18 @@ function public.load_dataset()
|
||||
return _g.aux_datasets[dataset_key]
|
||||
end
|
||||
|
||||
--do TODO syntactic sugar
|
||||
-- local mt = {
|
||||
-- __unm = function(self, separator)
|
||||
-- self.separator = separator
|
||||
-- end,
|
||||
-- __call = function(self, field) end
|
||||
-- }
|
||||
-- function public.getter.record()
|
||||
--
|
||||
-- end
|
||||
--end
|
||||
|
||||
function public.read(schema, str)
|
||||
if schema == 'string' then
|
||||
return str
|
||||
|
||||
Reference in New Issue
Block a user