summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dnsmasq-config-html.lsp2
-rw-r--r--dnsmasq-model.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/dnsmasq-config-html.lsp b/dnsmasq-config-html.lsp
index f086bb9..1fa36bc 100644
--- a/dnsmasq-config-html.lsp
+++ b/dnsmasq-config-html.lsp
@@ -1,5 +1,5 @@
<% local form, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
%>
<% if viewlibrary and viewlibrary.dispatch_component then
diff --git a/dnsmasq-model.lua b/dnsmasq-model.lua
index 0e522d8..181f2cd 100644
--- a/dnsmasq-model.lua
+++ b/dnsmasq-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
fs = require("acf.fs")
format = require("acf.format")
validator = require("acf.validator")