diff options
author | Marius <mariausol@gmail.com> | 2013-05-12 16:00:23 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-05-12 16:00:23 +0300 |
commit | e2826d557235ef9db2f9f8abb8c7b03496efbc0b (patch) | |
tree | 11234e20f62a77312bc4f18fe72d38c2fd49e4b3 /tex/context/base/data-con.lua | |
parent | 6eed43a8310a1845bb14121040a3fb027ced164c (diff) | |
download | context-e2826d557235ef9db2f9f8abb8c7b03496efbc0b.tar.gz |
beta 2013.05.12 14:50
Diffstat (limited to 'tex/context/base/data-con.lua')
-rw-r--r-- | tex/context/base/data-con.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/data-con.lua b/tex/context/base/data-con.lua index ef1635714..240538df2 100644 --- a/tex/context/base/data-con.lua +++ b/tex/context/base/data-con.lua @@ -74,11 +74,11 @@ function containers.define(category, subcategory, version, enabled) end end -function containers.is_usable(container, name) +function containers.is_usable(container,name) return container.enabled and caches and caches.is_writable(container.writable, name) end -function containers.is_valid(container, name) +function containers.is_valid(container,name) if name and name ~= "" then local storage = container.storage[name] return storage and storage.cache_version == container.version |