diff --git a/changelog.txt b/changelog.txt index 92ba33c..d1c3578 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/third-party/middleclass.lua b/third-party/middleclass.lua index 0e27b10..79b7f56 100644 --- a/third-party/middleclass.lua +++ b/third-party/middleclass.lua @@ -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'")