thirdparty/jsdoctoolkit/app/test/synonyms.js
changeset 3041 c8f47f0b6697
equal deleted inserted replaced
3040:8f9580309846 3041:c8f47f0b6697
       
     1 /**
       
     2 	@class
       
     3 	@inherits Bar#zop as #my_zop
       
     4 */
       
     5 function 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 */
       
    17 function 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 */
       
    26 var myObject = {
       
    27 	/**
       
    28 		@type function
       
    29 	*/
       
    30 	myFunc: getFunction()
       
    31 }