jQuery.Class.prototype.Class  attribute     

References the static properties of the instance's class.

Quick Example

// a class with a static classProperty property
$.Class.extend("MyClass", {classProperty : true}, {});

// a new instance of myClass var mc1 = new MyClass();

// mc1.Class.classProperty = false;

// creates a new MyClass var mc2 = new mc.Class();

Getting static properties via the Class property, such as it's fullName is very common.

© Jupiter IT - JavaScriptMVC Training and Support