summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 21:17:12 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 21:17:12 +0000
commit345446b1499f93da9ab64a8b2dade8cf4f00a336 (patch)
tree13d55b07cd70d9d981d5cf1761fb122a60ca1b82
parentdcdc8458452bc855fa2bd19036540726de211d19 (diff)
downloadacf-vlc-daemon-345446b1499f93da9ab64a8b2dade8cf4f00a336.tar.bz2
acf-vlc-daemon-345446b1499f93da9ab64a8b2dade8cf4f00a336.tar.xz
Change use of require to work with Lua 5.2
-rw-r--r--vlc-logfile-html.lsp2
-rw-r--r--vlc-model.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/vlc-logfile-html.lsp b/vlc-logfile-html.lsp
index 6250093..8bbb979 100644
--- a/vlc-logfile-html.lsp
+++ b/vlc-logfile-html.lsp
@@ -1,5 +1,5 @@
<% local form, viewlibrary, page_info = ... %>
-<% require("htmlviewfunctions") %>
+<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<H1>Logfile</H1>
diff --git a/vlc-model.lua b/vlc-model.lua
index 4b8c07f..aa9470f 100644
--- a/vlc-model.lua
+++ b/vlc-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
fs = require("acf.fs")
-- ################################################################################