diff options
author | Marius <mariausol@gmail.com> | 2011-04-11 18:00:19 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-04-11 18:00:19 +0300 |
commit | dbbbbfac3d158709a07af8c26e68284d1b0ea202 (patch) | |
tree | b9cb25022fc2858c0dcbc190ad466ba89c69861d /tex/context/base/attr-lay.lua | |
parent | 7c7fe9c9e18355f42d0dba1b248235252728060b (diff) | |
download | context-dbbbbfac3d158709a07af8c26e68284d1b0ea202.tar.gz |
beta 2011.04.11 16:45
Diffstat (limited to 'tex/context/base/attr-lay.lua')
-rw-r--r-- | tex/context/base/attr-lay.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tex/context/base/attr-lay.lua b/tex/context/base/attr-lay.lua index 1b652e469..ce76bb899 100644 --- a/tex/context/base/attr-lay.lua +++ b/tex/context/base/attr-lay.lua @@ -14,7 +14,8 @@ local type = type local format = string.format local insert, remove = table.insert, table.remove -local allocate = utilities.storage.allocate +local allocate = utilities.storage.allocate +local setmetatableindex = table.setmetatableindex local report_viewerlayers = logs.reporter("viewerlayers") @@ -90,8 +91,8 @@ local function reviver(data,n) end end -setmetatable(viewerlayers, { __index = extender }) -setmetatable(viewerlayers.data, { __index = reviver }) +setmetatableindex(viewerlayers, extender) +setmetatableindex(viewerlayers.data, reviver) local function initializer(...) return states.initialize(...) |