From bd3ea723717b54e3853487bee7a48947fb73b68a Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Thu, 21 Dec 2017 22:30:59 +0100 Subject: 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. --- data/pandoc.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data') 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 -- cgit v1.2.3