summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 21:04:34 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 21:04:34 +0000
commit2d9a6e37b23fb9b9fd3ef85559260103c121f576 (patch)
treeb346f3f2af3a30fee4c2f288bc798271c9280775
parent0366b584d12627e9107335f85c731b8b688c7ffe (diff)
downloadacf-postgresql-2d9a6e37b23fb9b9fd3ef85559260103c121f576.tar.bz2
acf-postgresql-2d9a6e37b23fb9b9fd3ef85559260103c121f576.tar.xz
Change use of require to work with Lua 5.2
-rw-r--r--postgresql-details-html.lsp2
-rw-r--r--postgresql-listfiles-html.lsp2
-rw-r--r--postgresql-model.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/postgresql-details-html.lsp b/postgresql-details-html.lsp
index 905a057..778a3bf 100644
--- a/postgresql-details-html.lsp
+++ b/postgresql-details-html.lsp
@@ -1,5 +1,5 @@
<% local data, viewlibrary = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/postgresql-listfiles-html.lsp b/postgresql-listfiles-html.lsp
index 8d80708..bc2728a 100644
--- a/postgresql-listfiles-html.lsp
+++ b/postgresql-listfiles-html.lsp
@@ -1,5 +1,5 @@
<% local data, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/postgresql-model.lua b/postgresql-model.lua
index df259d8..1c492f3 100644
--- a/postgresql-model.lua
+++ b/postgresql-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
fs = require("acf.fs")
format = require("acf.format")