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

/branches/jsdoc_tk_gui/setup/test/data/prototypes_props.js

http://jsdoc-toolkit.googlecode.com/
JavaScript | 16 lines | 9 code | 3 blank | 4 comment | 0 complexity | 504e93982a88725a1c2c0185e9b230a4 MD5 | raw file
 1function Person(){
 2}
 3
 4Person.prototype.setName = function(name) {
 5	/** the Person's name */
 6    this.name = name;
 7	
 8	/** get the Person's name */
 9    this.getName = function(){return name};
10}
11
12/** @constructor */
13Person.prototype.Child = function(age) {
14	/** the Child's age */
15	this.age = age;
16}