Releases: wizard04wsu/Class
Releases · wizard04wsu/Class
v10.0.1
v10.0.0 - complete rewrite
- now a JavaScript module
- uses Proxy objects to intercept execution of the class function, more easily distinguishing between instance creation and just calling the function
$super
works nearly the same as JavaScript'ssuper
keyword, and returns a reference to the protected members- more errors are thrown regarding
this
and$super
- better documentation
v9.0.0
Converted it to a JavaScript module instead of an anonymous function.
v8.0.0
Reworked protected values so that they're accessible from Super.protected
and do not require special functions to add/remove members.
v7.0.0
- replace
Super.addProtectedMember()
andSuper.removeProtectedMember()
withSuper.defineProtectedMember()
- bug fixes & optimizations
Release version 6.2.2
- update README.md
- reduce memory usage
- move function definitions so they aren't recreated for every instance
- set value of no-longer-needed variables to null
- delete add/removeProtectedMember methods from Super argument when exiting constructor
Release version 6.2.1
Update Class.js - move noConflict() related variable declarations closer to relevant code
Release version 6.2.0
- fixed some bugs
- cleaned up some code
- added a console warning if 'Super()' isn't called in a constructor
- prevented 'Super()' from being executed more than once in a constructor
Release version 6.1.0
Added functionality to allow for protected properties, making private items accessible to subclasses from within their constructors.
Release version 6.0.2
Got rid of some unneeded code and updated README.md