The If Works This dirt was a building before

JS.Class 1.5 is now out

Hot on the heels of Ojay comes a new release of JS.Class, my Ruby-inspired JavaScript library for class-based OOP. Ojay is itself based on JS.Class, and has influenced the design of some of its new features. There has been one small change to the 1.0 API, and a stack of additional modules added in; it’s not really a 1.1 release or a 2.0 release, hence 1.5.

The one change to the 1.0 API is that _super is now called callSuper. Ojay uses a compression strategy that obfuscates ‘private’ variables (this will be in the next PackR release, as and when Packer 3.1 comes out). You do need to be very careful when doing this, though, so I figured I should make super not look like a private variable just in case.

Now, onto the new stuff. This release adds tons of new features to play with, namely:

So, what are you waiting for? Go and download it and tell me what you think.


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment