projects
/
app.jsdoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e81e90
)
JSDOC/ScopeNamer.js
author
Alan Knowles
<alan@roojs.com>
Sun, 27 Nov 2011 15:05:35 +0000
(23:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 27 Nov 2011 15:05:35 +0000
(23:05 +0800)
JSDOC/ScopeNamer.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeNamer.js
b/JSDOC/ScopeNamer.js
index
e8cbcef
..
937fcc0
100644
(file)
--- a/
JSDOC/ScopeNamer.js
+++ b/
JSDOC/ScopeNamer.js
@@
-343,12
+343,22
@@
ScopeNamer = XObject.define(
this.walkObject(scope, name, token.props, jd);
continue;
}
-
+
+ // including ... aaa = new BBB({
+
+ if (token.data == 'new' && this.lookTok(-1).data == '=' && this.lookTok(-2).is('NAME')) {
+
+
+
+ }
+
+
+
// 'assignment..'
// it's done on the third element to enable object assignment to work above..
// a = .....
- // including ... aaa = new BBB({
+
if (this.lookTok(-1).data == '=' && this.lookTok(-2).is('NAME')) {