[*] The great require parens fixup©
This commit is contained in:
parent
18fdaee15d
commit
acf9403291
|
@ -1,7 +1,7 @@
|
|||
local BASE = (...):gsub('button', '')
|
||||
|
||||
local Widget = require BASE..'widget'
|
||||
local core = require BASE..'core'
|
||||
local Widget = require(BASE..'widget')
|
||||
local core = require(BASE..'core')
|
||||
|
||||
local shadowtext = require 'lib.gear.shadowtext'
|
||||
local T = require('lib.moonspeak').translate
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
local BASE = (...):gsub('checkbox', '')
|
||||
|
||||
local Widget = require BASE..'widget'
|
||||
local core = require BASE..'core'
|
||||
local Widget = require(BASE..'widget')
|
||||
local core = require(BASE..'core')
|
||||
|
||||
local shadowtext = require 'lib.gear.shadowtext'
|
||||
local T = require('lib.moonspeak').translate
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
local BASE = (...):gsub('choice', '')
|
||||
|
||||
local Widget = require BASE..'widget'
|
||||
local core = require BASE..'core'
|
||||
local Widget = require(BASE..'widget')
|
||||
local core = require(BASE..'core')
|
||||
|
||||
local shadowtext = require 'lib.gear.shadowtext'
|
||||
local T = require('lib.moonspeak').translate
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
local BASE = (...):gsub('columns', '')
|
||||
|
||||
local Layout = require BASE..'layout'
|
||||
local Layout = require(BASE..'layout')
|
||||
|
||||
local Columns = setmetatable({}, Layout)
|
||||
Columns.__index = Columns
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
local BASE = (...):gsub('input', '')
|
||||
|
||||
local Widget = require BASE..'widget'
|
||||
local core = require BASE..'core'
|
||||
local Widget = require(BASE..'widget')
|
||||
local core = require(BASE..'core')
|
||||
|
||||
local utf8 = require 'utf8'
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
local BASE = (...):gsub('label', '')
|
||||
|
||||
local Widget = require BASE..'widget'
|
||||
local core = require BASE..'core'
|
||||
local Widget = require(BASE..'widget')
|
||||
local core = require(BASE..'core')
|
||||
|
||||
local shadowtext = require 'lib.gear.shadowtext'
|
||||
local T = require('lib.moonspeak').translate
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
local BASE = (...):gsub('layout', '')
|
||||
|
||||
local Widget = require BASE..'widget'
|
||||
local core = require BASE..'core'
|
||||
local Widget = require(BASE..'widget')
|
||||
local core = require(BASE..'core')
|
||||
|
||||
local utils = require 'lib.gear'
|
||||
|
||||
|
|
2
rows.lua
2
rows.lua
|
@ -1,6 +1,6 @@
|
|||
local BASE = (...):gsub('rows')
|
||||
|
||||
local Layout = require BASE..'layout'
|
||||
local Layout = require(BASE..'layout')
|
||||
|
||||
local Rows = setmetatable({}, Layout)
|
||||
Rows.__index = Rows
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
local BASE = (...):gsub('slider', '')
|
||||
|
||||
local Widget = require BASE..'widget'
|
||||
local core = require BASE..'core'
|
||||
local Widget = require(BASE..'widget')
|
||||
local core = require(BASE..'core')
|
||||
|
||||
local Slider = setmetatable({}, Widget)
|
||||
Slider.__index = Slider
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
local BASE = (...):gsub('spacer', '')
|
||||
|
||||
local Widget = require BASE..'widget'
|
||||
local Widget = require(BASE..'widget')
|
||||
|
||||
-- Spacers don't accept focus
|
||||
local Spacer = setmetatable({ nofocus = true }, Widget)
|
||||
|
|
Loading…
Reference in New Issue