mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Upgrade to middleclass 3.0.1
This commit is contained in:
parent
a714e037c7
commit
e21264d4d7
@ -6,6 +6,7 @@ Version 0.9.7.1 - Alpha (Release Date TBD)
|
||||
[ADDED] a new tooltip method: GetOffsets()
|
||||
|
||||
[CHANGED] Moved library files to /libraries
|
||||
[CHANGED] Upgraded to middleclass 3.0.1
|
||||
|
||||
================================================
|
||||
Version 0.9.7 - Alpha (January 12 - 2014)
|
||||
|
7
third-party/middleclass.lua
vendored
7
third-party/middleclass.lua
vendored
@ -1,5 +1,5 @@
|
||||
local middleclass = {
|
||||
_VERSION = 'middleclass v3.0.0',
|
||||
_VERSION = 'middleclass v3.0.1',
|
||||
_DESCRIPTION = 'Object Orientation for Lua',
|
||||
_LICENSE = [[
|
||||
MIT LICENSE
|
||||
@ -96,8 +96,9 @@ end
|
||||
|
||||
local Object = _createClass("Object", nil)
|
||||
|
||||
Object.static.__metamethods = { '__add', '__call', '__concat', '__div', '__le', '__lt',
|
||||
'__mod', '__mul', '__pow', '__sub', '__tostring', '__unm' }
|
||||
Object.static.__metamethods = { '__add', '__call', '__concat', '__div', '__ipairs', '__le',
|
||||
'__len', '__lt', '__mod', '__mul', '__pairs', '__pow', '__sub',
|
||||
'__tostring', '__unm'}
|
||||
|
||||
function Object.static:allocate()
|
||||
assert(type(self) == 'table', "Make sure that you are using 'Class:allocate' instead of 'Class.allocate'")
|
||||
|
Loading…
Reference in New Issue
Block a user