Update UPDATING.md

This commit is contained in:
Enrique García 2016-03-20 18:49:56 +01:00
parent bffb00b195
commit 566a809333

View File

@ -12,7 +12,7 @@ local Object = class('Object')
local MyClass = class('MyClass', Object) local MyClass = class('MyClass', Object)
``` ```
If you are using a library which depends on the internal implementation of middleclass (for example, [stateful.lua](https://github.com/kikito/stateful.lua) they might not work with middleclass 4.0. You might need to update those other libraries. If you are using a library which depends on the internal implementation of middleclass they might not work with middleclass 4.0. You might need to update those other libraries.
Middleclass 4.0 comes with support for `__index` metamethod support. If your library manipulated the classes' `__instanceDict` internal attribute, you might do the same thing now using `__index` instead. Middleclass 4.0 comes with support for `__index` metamethod support. If your library manipulated the classes' `__instanceDict` internal attribute, you might do the same thing now using `__index` instead.