Skip to content

Commit 1a04b58

Browse files
committed
Remove old code
It is unclear what this was supposed to be. Looks like something left over in the code from some early experiment.
1 parent e4c03ba commit 1a04b58

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lua/themepark.lua

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ local themepark = {
5656
tables = {},
5757
themes = {},
5858
_columns = {},
59-
pre = function() return true end,
6059
process = {
6160
node = {},
6261
way = {},
@@ -165,15 +164,6 @@ function themepark:init_theme(theme)
165164
return self.themes[theme]
166165
end
167166

168-
if theme == '' then
169-
local dir = script_dir(2)
170-
self.themes[''] = { dir = dir }
171-
if self.debug then
172-
print("Themepark: Loading theme '' with path '" .. dir .. "' ...")
173-
end
174-
return
175-
end
176-
177167
if not theme then
178168
error('Missing theme argument to init_theme()')
179169
end

0 commit comments

Comments
 (0)