projects
/
app.jsdoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d976df
)
JSDOC/ScopeNamer.js
author
Alan Knowles
<alan@roojs.com>
Wed, 23 Nov 2011 04:35:18 +0000
(12:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 Nov 2011 04:35:18 +0000
(12:35 +0800)
JSDOC/ScopeNamer.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeNamer.js
b/JSDOC/ScopeNamer.js
index
647bdb8
..
82e3b90
100644
(file)
--- a/
JSDOC/ScopeNamer.js
+++ b/
JSDOC/ScopeNamer.js
@@
-138,7
+138,7
@@
ScopeNamer = XObject.define(
this.debugCall("walkStatements :" + scope ) ;
var _this = this;
var res = false;
- var isGlobal = scope ==
'_global_'
;
+ var isGlobal = scope ==
this.global
;
statements.some(function(st ) {
// handle change of scope..
@@
-174,7
+174,7
@@
ScopeNamer = XObject.define(
var name;
var sn;
- var isGlobal = scope ==
'_global_'
;
+ var isGlobal = scope ==
this.global = scope
;