From 3db77af821ca734d1b8dc72cc7bef25be056ad9c Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 9 Oct 2013 20:58:38 +0000 Subject: Change use of require to work with Lua 5.2 --- mdadm-details-html.lsp | 2 +- mdadm-model.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mdadm-details-html.lsp b/mdadm-details-html.lsp index 905a057..778a3bf 100644 --- a/mdadm-details-html.lsp +++ b/mdadm-details-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/mdadm-model.lua b/mdadm-model.lua index 38af0e3..44183c4 100644 --- a/mdadm-model.lua +++ b/mdadm-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