refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-09-05 08:07:40 +02:00
parent ff4ce0d288
commit 9576b9fe31
5 changed files with 15 additions and 33 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ do
end
function color_accessor(callback)
return function()
return index_function(__(tt) :callback(callback) :table(COLORS), index_handler)
return index_function({callback=callback, table=COLORS}, index_handler)
end
end
end