diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:48:56 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:48:56 +0000 |
commit | 792a7f6ecbec2629830fd2b26bfdcd70ab2e7b39 (patch) | |
tree | 74aadb5ce199cd6c542269c01b921b97a3a2fbc7 | |
parent | a72f160930e03db34acea975a6936cfc0d408042 (diff) | |
download | acf-freeswitch-792a7f6ecbec2629830fd2b26bfdcd70ab2e7b39.tar.bz2 acf-freeswitch-792a7f6ecbec2629830fd2b26bfdcd70ab2e7b39.tar.xz |
Change use of require to work with Lua 5.2
-rw-r--r-- | freeswitch-listfiles-html.lsp | 2 | ||||
-rw-r--r-- | freeswitch-model.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/freeswitch-listfiles-html.lsp b/freeswitch-listfiles-html.lsp index 53af88d..f4a8bcc 100644 --- a/freeswitch-listfiles-html.lsp +++ b/freeswitch-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/freeswitch-model.lua b/freeswitch-model.lua index 3c0a8ab..ffdc699 100644 --- a/freeswitch-model.lua +++ b/freeswitch-model.lua @@ -1,8 +1,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") |