easyappointments/data/scripts/jsdoc/test/fixtures/lends2.js
2013-05-20 17:21:58 +00:00

18 lines
No EOL
397 B
JavaScript

var Person = makeClass(
/** @lends Person# */
{
/** Construct a Person.
@constructs Person
*/
initialize: function(name) {
/** The name of the person. */
this.name = name;
},
/** Speak a message. */
say: function(message) {
return this.name + " says: " + message;
}
}
);