jsdoc/test/cases/augmentstag.js
2011-09-20 17:22:36 -06:00

40 lines
502 B
JavaScript

/**
* @constructor
*/
function Foo() {
/** First property */
this.prop1 = true;
}
/**
* Second property
* @type {String}
*/
Foo.prototype.prop2 = "parent prop2";
/**
* First parent method.
*/
Foo.prototype.method1 = function() {};
/**
* Second parent method.
*/
Foo.prototype.method2 = function() {};
/**
* @constructor
* @extends Foo
*/
function Bar() {
/** Thrid prop **/
this.prop3 = true;
}
/**
* Second child method.
*/
Bar.prototype.method2 = function() {};