gameclosure uses the class structure for code modulation
example code 1:
exports = Class(GC.Application, function() {
//Code here
});
I was trying to look for the code inside the Class varible,
I found a Class varible declartion in jsio/packages/base.js
exports.Class = function(name, parent, proto) {
return exports.__class__(
function() {
return this.init && this.init.apply(this, arguments);
},
name, parent, proto);
}
but, this function is not syntactically the same as to be used by the example code mentioned above. so, my question is where is the class varibale located. and what is the use for the jsio/packages/base.js class variable? also, how can i call the super class methods from the extended class?