From cf4797b1b2dc539841ae5403575e7c010ad855e6 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 9 Oct 2013 20:38:52 +0000 Subject: Change use of require to work with Lua 5.2 --- clamav-details-html.lsp | 2 +- clamav-listfiles-html.lsp | 2 +- clamav-model.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clamav-details-html.lsp b/clamav-details-html.lsp index 905a057..778a3bf 100644 --- a/clamav-details-html.lsp +++ b/clamav-details-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/clamav-listfiles-html.lsp b/clamav-listfiles-html.lsp index 0d2e49f..e2da86b 100644 --- a/clamav-listfiles-html.lsp +++ b/clamav-listfiles-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary, page_info, session = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/clamav-model.lua b/clamav-model.lua index e42a76e..d83484d 100644 --- a/clamav-model.lua +++ b/clamav-model.lua @@ -1,7 +1,7 @@ module(..., package.seeall) -- Load libraries -require("modelfunctions") +modelfunctions = require("modelfunctions") fs = require("acf.fs") format = require("acf.format") -- cgit v1.2.3