From 4d09a094223123db27a5be12f38daedffa9d25ce Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 9 Oct 2013 20:58:12 +0000 Subject: Change use of require to work with Lua 5.2 --- lvm2-details-html.lsp | 2 +- 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") -- cgit v1.2.3