Open r2bln opened 10 years ago
When creating a hierarchy like this:
module Root:
Code:
/** * The test object. * * @module Root * */ var Root = function() { /** * This class contains logging methods of different severity * * @namespace Root * @extends Root * @class Class1 * */ this.class1 = function() { /** * This class contains logging methods of different severity * * @namespace Root.Class1 * @extends Class1 * @class Class11 * */ this.class11 = function() { }; /** * This class contains logging methods of different severity * * @namespace Root.Class1 * @extends Class1 * @class Class12 * */ this.class12 = function() { }; }; /** * This class contains logging methods of different severity * * @namespace Root * @extends Root * @class Class2 * */ this.class2 = function() { /** * This class contains logging methods of different severity * * @namespace Root.Class2 * @extends Class2 * @class Class21 * */ this.class21 = function() { }; /** * This class contains logging methods of different severity * * @namespace Root.Class2 * @extends Class2 * @class Class22 * */ this.class22 = function() { }; }; }
If you delete the Class2 everything is back ok.
I've been trying to figure out how to control hierarchies and according to the documentation, I'm not sure that what you have provided in the example is how the poet had intended.
But I'm not having success, either.
I'm achieving pretty much what I want, except there's no linking from a class to its parent class, like this.
When creating a hierarchy like this:
module Root:
Code:
If you delete the Class2 everything is back ok.