From 7170be73ce8cdc777c07544c680b0754f826d012 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 9 Oct 2013 20:39:33 +0000 Subject: Change use of require to work with Lua 5.2 --- clamsmtp-details-html.lsp | 2 +- clamsmtp-model.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clamsmtp-details-html.lsp b/clamsmtp-details-html.lsp index 905a057..778a3bf 100644 --- a/clamsmtp-details-html.lsp +++ b/clamsmtp-details-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/clamsmtp-model.lua b/clamsmtp-model.lua index c2d7c6a..f598191 100644 --- a/clamsmtp-model.lua +++ b/clamsmtp-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