PageRenderTime 18ms CodeModel.GetById 8ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/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  */
 2var 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}