Commit 2d9a6e37 authored by Ted Trask's avatar Ted Trask

Change use of require to work with Lua 5.2

parent 0366b584
<% local data, viewlibrary = ...
require("htmlviewfunctions")
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
......
<% local data, viewlibrary, page_info, session = ...
require("htmlviewfunctions")
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
......
module(..., package.seeall)
-- Load libraries
require("modelfunctions")
modelfunctions = require("modelfunctions")
fs = require("acf.fs")
format = require("acf.format")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment