PageRenderTime 20ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/jsdoc_toolkit-2.3.2/jsdoc-toolkit/app/test/synonyms.js

http://jsdoc-toolkit.googlecode.com/
JavaScript | 31 lines | 11 code | 4 blank | 16 comment | 0 complexity | 7dec43f670fe73cdbe189be67e9fdb01 MD5 | raw file
 1/**
 2	@class
 3	@inherits Bar#zop as #my_zop
 4*/
 5function Foo() {
 6	/** this is a zip. */
 7	this.zip = function() {}
 8	
 9	/** from Bar */
10	this.my_zop = new Bar().zop;
11}
12
13/**
14	@class
15	@borrows Foo#zip as this.my_zip
16*/
17function Bar() {
18	/** this is a zop. */
19	this.zop = function() {}
20	
21	/** from Foo */
22	this.my_zip = new Foo().zip;
23}
24
25/** @namespace */
26var myObject = {
27	/**
28		@type function
29	*/
30	myFunc: getFunction()
31}