sbin/res/jsdoc/app/test/static_this.js
changeset 1072 ac1eacb3aa33
parent 1071 02c04d2c8fd8
child 1073 687133dc13cf
equal deleted inserted replaced
1071:02c04d2c8fd8 1072:ac1eacb3aa33
     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);