mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-12-01 17:46:07 +03:00
33 lines
480 B
JavaScript
33 lines
480 B
JavaScript
|
/** @class */
|
||
|
var Person = Class.create(
|
||
|
/**
|
||
|
@lends Person.prototype
|
||
|
*/
|
||
|
{
|
||
|
initialize: function(name) {
|
||
|
this.name = name;
|
||
|
},
|
||
|
say: function(message) {
|
||
|
return this.name + ': ' + message;
|
||
|
}
|
||
|
}
|
||
|
);
|
||
|
|
||
|
/** @lends Person.prototype */
|
||
|
{
|
||
|
/** like say but more musical */
|
||
|
sing: function(song) {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/** @lends Person */
|
||
|
{
|
||
|
getCount: function() {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/** @lends Unknown.prototype */
|
||
|
{
|
||
|
notok: function() {
|
||
|
}
|
||
|
}
|