JSDOC/ScopeNamer.js
authorAlan Knowles <alan@roojs.com>
Wed, 23 Nov 2011 04:18:26 +0000 (12:18 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 23 Nov 2011 04:18:26 +0000 (12:18 +0800)
JSDOC/ScopeNamer.js

index 3ff1cd6..94e0ae5 100644 (file)
@@ -146,6 +146,7 @@ ScopeNamer = XObject.define(
                    ) {
                     print(st[0].jsdoc.getTag('scope'));
                     scope = st[0].jsdoc.getTag('scope');
+                    // might be an array..
                     if (typeof(scope) != 'String') {
                         scope = scope[0].desc;
                     }