projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
can generate jsdoc; private methods marked as such
[dygraphs.git]
/
jsdoc-toolkit
/
app
/
test
/
static_this.js
diff --git a/jsdoc-toolkit/app/test/static_this.js
b/jsdoc-toolkit/app/test/static_this.js
new file mode 100644
(file)
index 0000000..
9407b20
--- /dev/null
+++ b/
jsdoc-toolkit/app/test/static_this.js
@@ -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);