diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:28:26 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:28:26 +0000 |
commit | 1d6fcde83bef7e14fd81d2d9c7425f33b39a6604 (patch) | |
tree | 38f2de183ca91b6b0aa2685ed6e2ae9e56fc5773 | |
parent | 52676f9cd15d0966ff975d529252e93667a04a2a (diff) | |
download | acf-asterisk-1d6fcde83bef7e14fd81d2d9c7425f33b39a6604.tar.bz2 acf-asterisk-1d6fcde83bef7e14fd81d2d9c7425f33b39a6604.tar.xz |
Change use of require to work with Lua 5.2
-rw-r--r-- | asterisk-listfiles-html.lsp | 2 | ||||
-rw-r--r-- | asterisk-model.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/asterisk-listfiles-html.lsp b/asterisk-listfiles-html.lsp index e99c936..d63398c 100644 --- a/asterisk-listfiles-html.lsp +++ b/asterisk-listfiles-html.lsp @@ -1,5 +1,5 @@ <% local view, viewlibrary, page_info, session = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/asterisk-model.lua b/asterisk-model.lua index 67d47a4..5ce9dd4 100644 --- a/asterisk-model.lua +++ b/asterisk-model.lua @@ -2,8 +2,8 @@ module (..., package.seeall) -- Load libraries -require("modelfunctions") -require("posix") +modelfunctions = require("modelfunctions") +posix = require("posix") fs = require("acf.fs") format = require("acf.format") validator = require("acf.validator") |