projects
/
app.jsdoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
97f508d
)
JSDOC/ScopeNamer.js
author
Alan Knowles
<alan@roojs.com>
Wed, 23 Nov 2011 04:40:49 +0000
(12:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 Nov 2011 04:40:49 +0000
(12:40 +0800)
JSDOC/ScopeNamer.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeNamer.js
b/JSDOC/ScopeNamer.js
index
3e15456
..
c2007e4
100644
(file)
--- a/
JSDOC/ScopeNamer.js
+++ b/
JSDOC/ScopeNamer.js
@@
-252,7
+252,7
@@
ScopeNamer = XObject.define(
var name = this.lookTok(-2).data;
if (isGlobal) {
var name = this.lookTok(-2).data;
if (isGlobal) {
-
+ print ("GLOBAL: ")
@@
-280,24
+280,7
@@
ScopeNamer = XObject.define(
}
}
-
-
- name = !isGlobal && name && !name.match(/^this\./) ? false : name;
- if (!isGlobal && name && name.match(/^this\./) ) {
- // see if scope ends in prototype..
- print("SCOPE:" + JSON.stringify(scope));
- if (
- (scope.split('.').pop() == 'prototype') &&
- (name.split('.').length == 2)
- ){
- name = name.split('.').pop();
- } else {
- name = false;
- }
-
- } else {
- name = false;
- }
+
//print(JSON.stringify(token,null,4));
this.walkObject(scope, name, token.props, jd);
continue;
//print(JSON.stringify(token,null,4));
this.walkObject(scope, name, token.props, jd);
continue;