summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-res.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-03-31 10:13:17 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-03-31 10:13:17 +0200
commite819b543f65c17964c36a2371f152b3c5f55d28a (patch)
tree14b05d0cc09ff0023832aa3723934cb36162e9e9 /tex/context/base/mkiv/node-res.lua
parented2c824995ef51ddb1dfc1fa2a526933cd377cda (diff)
downloadcontext-e819b543f65c17964c36a2371f152b3c5f55d28a.tar.gz
2016-03-31 09:10:00
Diffstat (limited to 'tex/context/base/mkiv/node-res.lua')
-rw-r--r--tex/context/base/mkiv/node-res.lua17
1 files changed, 0 insertions, 17 deletions
diff --git a/tex/context/base/mkiv/node-res.lua b/tex/context/base/mkiv/node-res.lua
index b74929a81..d87f40df7 100644
--- a/tex/context/base/mkiv/node-res.lua
+++ b/tex/context/base/mkiv/node-res.lua
@@ -82,23 +82,6 @@ local free_nut = nuts.free
local copy_node = nodes.copy
local new_node = nodes.new
-local reset_glue = nuts.reset_glue
-
-if not reset_glue then
- reset_glue = function(n,width,stretch,shrink,stretch_order,shrink_order)
- setfield(n,"width",width or 0)
- setfield(n,"stretch",stretch or 0)
- setfield(n,"shrink",shrink or 0)
- setfield(n,"stretch_order",stretch_order or 0)
- setfield(n,"shrink_order",shrink_order or 0)
- end
- nuts.reset_glue = reset_glue
-end
-
-nuts.resetglue = reset_glue
-
--- todo: nodes.reset_glue
-
-- at some point we could have a dual set (the overhead of tonut is not much larger than
-- metatable associations at the lua/c end esp if we also take assignments into account