diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:46:23 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:46:23 +0000 |
commit | 6256df038e269521ffc3c7033ffae4de8ed5d4d1 (patch) | |
tree | 9477d25698864bc2319aa796b9c1be5bad40b2e2 | |
parent | 7611a83b0055ef335eb4ada998ecaf4a685426d5 (diff) | |
download | acf-dovecot-6256df038e269521ffc3c7033ffae4de8ed5d4d1.tar.bz2 acf-dovecot-6256df038e269521ffc3c7033ffae4de8ed5d4d1.tar.xz |
Change use of require to work with Lua 5.2
-rw-r--r-- | dovecot-details-html.lsp | 2 | ||||
-rw-r--r-- | dovecot-model.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dovecot-details-html.lsp b/dovecot-details-html.lsp index 905a057..778a3bf 100644 --- a/dovecot-details-html.lsp +++ b/dovecot-details-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/dovecot-model.lua b/dovecot-model.lua index 173ecbb..f028f83 100644 --- a/dovecot-model.lua +++ b/dovecot-model.lua @@ -1,7 +1,7 @@ module(..., package.seeall) -- Load libraries -require("modelfunctions") +modelfunctions = require("modelfunctions") fs = require("acf.fs") format = require("acf.format") |