projects
/
app.jsdoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1676f9
)
JSDOC/Collapse.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 10 Oct 2011 08:56:25 +0000
(16:56 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 10 Oct 2011 08:56:25 +0000
(16:56 +0800)
JSDOC/Collapse.js
patch
|
blob
|
history
diff --git
a/JSDOC/Collapse.js
b/JSDOC/Collapse.js
index
56359e4
..
7f37f61
100644
(file)
--- a/
JSDOC/Collapse.js
+++ b/
JSDOC/Collapse.js
@@
-82,8
+82,9
@@
Collapse = XObject.define(
this.tokens = ar;
},
- collapse : function(ar) {
+ collapse : function(ar
, depth
) {
+ depth = depth || 0;
var st = new TokenStream(ar);
var ret = [];