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

/tags/jsdoc_toolkit-2.4.0/jsdoc-toolkit/app/test/static_this.js

http://jsdoc-toolkit.googlecode.com/
JavaScript | 13 lines | 7 code | 3 blank | 3 comment | 0 complexity | 33a439de0c2f2ba9e3b0e903a80c18c3 MD5 | raw file
 1/** the parent */
 2var box = {};
 3
 4/** @namespace */
 5box.holder = {}
 6
 7box.holder.foo = function() {
 8	/** the counter */
 9	this.counter = 1;
10}
11
12box.holder.foo();
13print(box.holder.counter);