paste.chapril.org-privatebin/jsdoc_toolkit-2.3.3-beta/app/test/lend.js
2010-05-26 15:34:42 -07:00

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() {
}
}