summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 21:05:27 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 21:05:27 +0000
commita65ebadc7db1133efb44300d3763c79983578c31 (patch)
tree3e3c1d9b6943b502066bff7864da2b68f55335aa
parenta2d493b911a6bae5e0c3b7f603fe4792fa79402d (diff)
downloadacf-ppp-a65ebadc7db1133efb44300d3763c79983578c31.tar.bz2
acf-ppp-a65ebadc7db1133efb44300d3763c79983578c31.tar.xz
Change use of require to work with Lua 5.2
-rw-r--r--ppp-listpeers-html.lsp2
-rw-r--r--ppp-model.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/ppp-listpeers-html.lsp b/ppp-listpeers-html.lsp
index fadee98..19e0d0b 100644
--- a/ppp-listpeers-html.lsp
+++ b/ppp-listpeers-html.lsp
@@ -1,5 +1,5 @@
<% local form, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/ppp-model.lua b/ppp-model.lua
index ff7a8cc..4bd4cdd 100644
--- a/ppp-model.lua
+++ b/ppp-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
processinfo = require("acf.processinfo")
fs = require("acf.fs")
validator = require("acf.validator")