mirror of
https://github.com/kikito/middleclass.git
synced 2024-11-08 09:34:22 +00:00
Fix use of C-syntax
This commit is contained in:
parent
6b4bc410d6
commit
c13b4a4f6a
@ -82,9 +82,9 @@ local function _createClass(name, super)
|
||||
setmetatable(aClass.static, {
|
||||
__index = function(_,k)
|
||||
local result = rawget(dict,k)
|
||||
if result == nil {
|
||||
if result == nil then
|
||||
return super.static[k]
|
||||
}
|
||||
end
|
||||
return result
|
||||
end
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user