summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 21:00:17 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 21:00:17 +0000
commitc29f12712dbb82da5e0351126a9896ac9e986fc1 (patch)
tree1e08d040060ce79015047168c42d395d59c96eb2
parent095b371742f2078760170c4a89bb96e05fc8d4b5 (diff)
downloadacf-openntpd-c29f12712dbb82da5e0351126a9896ac9e986fc1.tar.bz2
acf-openntpd-c29f12712dbb82da5e0351126a9896ac9e986fc1.tar.xz
Change use of require to work with Lua 5.2
-rw-r--r--openntpd-config-html.lsp2
-rw-r--r--openntpd-details-html.lsp2
-rw-r--r--openntpd-model.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/openntpd-config-html.lsp b/openntpd-config-html.lsp
index b478495..e4bf203 100644
--- a/openntpd-config-html.lsp
+++ b/openntpd-config-html.lsp
@@ -1,5 +1,5 @@
<% local form, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/openntpd-details-html.lsp b/openntpd-details-html.lsp
index b9ec189..9be71b9 100644
--- a/openntpd-details-html.lsp
+++ b/openntpd-details-html.lsp
@@ -1,5 +1,5 @@
<% local data, viewlibrary = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/openntpd-model.lua b/openntpd-model.lua
index 746db69..44139c1 100644
--- a/openntpd-model.lua
+++ b/openntpd-model.lua
@@ -1,7 +1,7 @@
module (..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
fs = require("acf.fs")
format = require("acf.format")