summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openssh-config-html.lsp2
-rw-r--r--openssh-listauth-html.lsp2
-rw-r--r--openssh-model.lua4
3 files changed, 4 insertions, 4 deletions
diff --git a/openssh-config-html.lsp b/openssh-config-html.lsp
index c48fef8..2da497b 100644
--- a/openssh-config-html.lsp
+++ b/openssh-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/openssh-listauth-html.lsp b/openssh-listauth-html.lsp
index 3f99620..de89648 100644
--- a/openssh-listauth-html.lsp
+++ b/openssh-listauth-html.lsp
@@ -1,5 +1,5 @@
<% local view, viewlibrary, page_info, session = ... %>
-<% require("htmlviewfunctions") %>
+<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<% htmlviewfunctions.displaycommandresults({"deleteauth"}, session) %>
diff --git a/openssh-model.lua b/openssh-model.lua
index b7cde44..4c81417 100644
--- a/openssh-model.lua
+++ b/openssh-model.lua
@@ -1,8 +1,8 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
-require("posix")
+modelfunctions = require("modelfunctions")
+posix = require("posix")
validator = require("acf.validator")
fs = require("acf.fs")
format = require("acf.format")