summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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")