app/test/lend.js
raw| 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 | |
| 16 | /** @lends Person.prototype */ |
| 17 | { |
| 18 | /** like say but more musical */ |
| 19 | sing: function(song) { |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | /** @lends Person */ |
| 24 | { |
| 25 | getCount: function() { |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | /** @lends Unknown.prototype */ |
| 30 | { |
| 31 | notok: function() { |
| 32 | } |
| 33 | } |