diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2017-12-21 22:30:59 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2017-12-21 22:42:59 +0100 |
commit | bd3ea723717b54e3853487bee7a48947fb73b68a (patch) | |
tree | e0c68763a44e4d7156ebfbd46ed8446e976dd8f9 /data/pandoc.lua | |
parent | 5ad719c1fb6dbf06cbf4f48e57ae4a6d187e0a5e (diff) | |
download | pandoc-bd3ea723717b54e3853487bee7a48947fb73b68a.tar.gz |
Lua modules: added pandoc.utils module
A new module `pandoc.utils` has been created. It holds utility functions
like `sha1`, which was moved from the main `pandoc` module.
Diffstat (limited to 'data/pandoc.lua')
-rw-r--r-- | data/pandoc.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/pandoc.lua b/data/pandoc.lua index df8aa06c4..98d274cf4 100644 --- a/data/pandoc.lua +++ b/data/pandoc.lua @@ -903,4 +903,9 @@ function M.global_filter() return res end +------------------------------------------------------------------------ +-- Functions which have moved to different modules +local utils = require 'pandoc.utils' +M.sha1 = utils.sha1 + return M |