jQsimple-class is a small class declaration library for JavaScript. It allows
you to easily declare classes and inherit from other classes, and lets you have
constructors inline with your class declaration. It’s meant to let you quickly
declare a class and easily extend others, then get completely out of your way.
Quick code sample:
var obj = jClass({
_constructor: function(params) { /* instance initialization code */ },
attribute: null,
method1: function () { },
method2: function (arg) { }
});
See
the documentation for more information and examples.