summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--opennhrp-editinterface-html.lsp2
-rw-r--r--opennhrp-listinterfaces-html.lsp2
-rw-r--r--opennhrp-model.lua2
-rw-r--r--opennhrp-show-html.lsp2
4 files changed, 4 insertions, 4 deletions
diff --git a/opennhrp-editinterface-html.lsp b/opennhrp-editinterface-html.lsp
index 6caa8d1..76d37a2 100644
--- a/opennhrp-editinterface-html.lsp
+++ b/opennhrp-editinterface-html.lsp
@@ -1,5 +1,5 @@
<% local form, viewlibrary, page_info = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/opennhrp-listinterfaces-html.lsp b/opennhrp-listinterfaces-html.lsp
index 9794645..044de2e 100644
--- a/opennhrp-listinterfaces-html.lsp
+++ b/opennhrp-listinterfaces-html.lsp
@@ -1,5 +1,5 @@
<% local view, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/opennhrp-model.lua b/opennhrp-model.lua
index c59e22e..29f2e1f 100644
--- a/opennhrp-model.lua
+++ b/opennhrp-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
validator = require("acf.validator")
fs = require("acf.fs")
diff --git a/opennhrp-show-html.lsp b/opennhrp-show-html.lsp
index 241973d..e168863 100644
--- a/opennhrp-show-html.lsp
+++ b/opennhrp-show-html.lsp
@@ -1,5 +1,5 @@
<% local data, viewlibrary, page_info = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>