projects
/
app.jsdoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55e7943
)
JSDOC/ScopeNamer.js
master
author
Alan Knowles
<alan@roojs.com>
Sun, 27 Nov 2011 15:10:29 +0000
(23:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 27 Nov 2011 15:10:29 +0000
(23:10 +0800)
JSDOC/ScopeNamer.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeNamer.js
b/JSDOC/ScopeNamer.js
index
3e5b353
..
9576663
100644
(file)
--- a/
JSDOC/ScopeNamer.js
+++ b/
JSDOC/ScopeNamer.js
@@
-439,9
+439,12
@@
ScopeNamer = XObject.define(
if (token.data == 'new' && !isVar && name) {
var mname = this.lookTok(1).data;
- var args = this.lookTok(2).items;
+ var args = this.lookTok(2).items;
// (
if (args[0].data == '{') {
+
+ this.walkObject( scope +'.'+ name, false, args[0].props, false);
+
// have a go at applying the properties..
}