JSDOC/ScopeParser.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 08:08:41 +0000 (16:08 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 08:08:41 +0000 (16:08 +0800)
JSDOC/ScopeParser.js

index a704f25..60a025c 100644 (file)
@@ -98,6 +98,7 @@ ScopeParser.prototype = {
         
     },
     warn: function(s) {
+        !this.debug || print(s);
         this.warnings.push(s);
         //println("WARNING:" + htmlescape(s) + "<BR>");
     },