From 2d9a6e37b23fb9b9fd3ef85559260103c121f576 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 9 Oct 2013 21:04:34 +0000 Subject: Change use of require to work with Lua 5.2 --- postgresql-details-html.lsp | 2 +- postgresql-listfiles-html.lsp | 2 +- postgresql-model.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/postgresql-details-html.lsp b/postgresql-details-html.lsp index 905a057..778a3bf 100644 --- a/postgresql-details-html.lsp +++ b/postgresql-details-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/postgresql-listfiles-html.lsp b/postgresql-listfiles-html.lsp index 8d80708..bc2728a 100644 --- a/postgresql-listfiles-html.lsp +++ b/postgresql-listfiles-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary, page_info, session = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/postgresql-model.lua b/postgresql-model.lua index df259d8..1c492f3 100644 --- a/postgresql-model.lua +++ b/postgresql-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