/tags/jsdoc_toolkit-2.2.1/jsdoc-toolkit/app/test/lend.js

http://jsdoc-toolkit.googlecode.com/ · JavaScript · 33 lines · 22 code · 3 blank · 8 comment · 0 complexity · db5ce3d4e1216f6e03aa5921c9cbad1e MD5 · raw file

  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. }