thirdparty/jsdoctoolkit/app/test/static_this.js
changeset 3041 c8f47f0b6697
equal deleted inserted replaced
3040:8f9580309846 3041:c8f47f0b6697
       
     1 /** the parent */
       
     2 var box = {};
       
     3 
       
     4 /** @namespace */
       
     5 box.holder = {}
       
     6 
       
     7 box.holder.foo = function() {
       
     8 	/** the counter */
       
     9 	this.counter = 1;
       
    10 }
       
    11 
       
    12 box.holder.foo();
       
    13 print(box.holder.counter);