mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
The second half of the first phase of the testing framework upgrade. This finishes moving the exisintg tests to jasmine and the new test directory structure
25 lines
479 B
JavaScript
25 lines
479 B
JavaScript
var Person = Class.create(/** @lends Person# */{
|
|
|
|
/**
|
|
Describe the constructor.
|
|
@classdesc A class that represents a person.
|
|
@constructs
|
|
@param {string} name
|
|
*/
|
|
initialize: function(name) {
|
|
|
|
/** The name of the person. */
|
|
this.name = name;
|
|
},
|
|
|
|
/**
|
|
@param {string} message
|
|
*/
|
|
say: function(message) {
|
|
|
|
/** The person's message. */
|
|
this.message = message;
|
|
}
|
|
});
|
|
|