lend.js 480 B

123456789101112131415161718192021222324252627282930313233
  1. /** @class */
  2. var Person = Class.create(
  3. /**
  4. @lends Person.prototype
  5. */
  6. {
  7. initialize: function(name) {
  8. this.name = name;
  9. },
  10. say: function(message) {
  11. return this.name + ': ' + message;
  12. }
  13. }
  14. );
  15. /** @lends Person.prototype */
  16. {
  17. /** like say but more musical */
  18. sing: function(song) {
  19. }
  20. }
  21. /** @lends Person */
  22. {
  23. getCount: function() {
  24. }
  25. }
  26. /** @lends Unknown.prototype */
  27. {
  28. notok: function() {
  29. }
  30. }