diff -r 8f9580309846 -r c8f47f0b6697 thirdparty/jsdoctoolkit/app/test/static_this.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thirdparty/jsdoctoolkit/app/test/static_this.js Sun Oct 25 19:15:44 2009 +0000 @@ -0,0 +1,13 @@ +/** the parent */ +var box = {}; + +/** @namespace */ +box.holder = {} + +box.holder.foo = function() { + /** the counter */ + this.counter = 1; +} + +box.holder.foo(); +print(box.holder.counter);