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
27 lines
460 B
JavaScript
27 lines
460 B
JavaScript
/**
|
|
A class that represents a person.
|
|
@class
|
|
*/
|
|
var Person = Class.create({
|
|
|
|
/**
|
|
@constructs Person
|
|
@param {string} name
|
|
*/
|
|
initialize: function(name) {
|
|
|
|
/** The name of the person. */
|
|
this.name = name;
|
|
},
|
|
|
|
/**
|
|
@memberof Person#
|
|
@param {string} message
|
|
*/
|
|
say: function(message) {
|
|
|
|
/** The person's message. */
|
|
this.message = message;
|
|
}
|
|
});
|