资 源 简 介
jClass is a Java Script library that allows you to write highly object-oriented code.
You can use jClass to:
* Define namespaces
* Create and extend other classes
* Create and implement interfaces
* Define public/private/static/override/overload methods
* Define getter and setter methods
The basic syntax for jClass is:
```
include("some.other.files");
namespace("my.namespace")
({
MyClass : jClass.extends(BaseClass).implements(SomeInterf, SomeOtherInterf)
({
constructor : function(){
....
},
private : {
....
},
public : {
....
},
static : {
....
}
}),
OtherClass : jClass({
......
})
})
```
A set of really useful libraries are also included. You can check them out in the Wiki
And a demonstration exam