diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:58:12 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:58:12 +0000 |
commit | 4d09a094223123db27a5be12f38daedffa9d25ce (patch) | |
tree | ea084e84df4d693093bd90d776714ac6fcd034d7 | |
parent | be07324d751a5a3a8f51366f7f606e1abec7b18b (diff) | |
download | acf-lvm2-4d09a094223123db27a5be12f38daedffa9d25ce.tar.bz2 acf-lvm2-4d09a094223123db27a5be12f38daedffa9d25ce.tar.xz |
Change use of require to work with Lua 5.2
-rw-r--r-- | lvm2-details-html.lsp | 2 | ||||
-rw-r--r-- | lvm2-model.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lvm2-details-html.lsp b/lvm2-details-html.lsp index 8ed3df4..1b2aa27 100644 --- a/lvm2-details-html.lsp +++ b/lvm2-details-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/lvm2-model.lua b/lvm2-model.lua index 7bc622c..ba63301 100644 --- a/lvm2-model.lua +++ b/lvm2-model.lua @@ -1,7 +1,7 @@ module(..., package.seeall) -- Load libraries -require("modelfunctions") +modelfunctions = require("modelfunctions") fs = require("acf.fs") format = require("acf.format") |