Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ACF
acf-heimdal
Commits
ada03db6
Commit
ada03db6
authored
Oct 09, 2013
by
Ted Trask
Browse files
Change use of require to work with Lua 5.2
parent
64f75576
Changes
2
Hide whitespace changes
Inline
Side-by-side
heimdal-klist-html.lsp
View file @
ada03db6
<% local data, viewlibrary, page_info, session = ... %>
<% require("htmlviewfunctions") %>
<%
htmlviewfunctions =
require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<% htmlviewfunctions.displaycommandresults({"kdestroy"}, session) %>
...
...
heimdal-model.lua
View file @
ada03db6
module
(
...
,
package
.
seeall
)
-- Load libraries
require
(
"modelfunctions"
)
modelfunctions
=
require
(
"modelfunctions"
)
fs
=
require
(
"acf.fs"
)
-- Set variables
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment