mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-23 07:03:26 +03:00
ab6c6d959d
- Δημιουργία script για παραγωγή documention του κώδικα - Μικρές διορθώσεις
18 lines
No EOL
397 B
JavaScript
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;
|
|
}
|
|
}
|
|
); |