JSDOC/DocTag.js
authorAlan Knowles <alan@roojs.com>
Mon, 11 May 2015 10:42:59 +0000 (18:42 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 11 May 2015 10:42:59 +0000 (18:42 +0800)
JSDOC/DocTag.js

index 4ac2783..09ac12b 100644 (file)
@@ -94,7 +94,7 @@ DocTag = XObject.define(
             
             // if type == @cfg, and matches (|....|...)
             
             
             // if type == @cfg, and matches (|....|...)
             
-            src = str.trim();
+            src = src.trim();
             if (this.title == "cfg" && src.match(/^\([^)]+\)/)) {
                 var m = src.match(/^\(([^)]+)\)/);
                 if (m[1].match(/\|/)) {
             if (this.title == "cfg" && src.match(/^\([^)]+\)/)) {
                 var m = src.match(/^\(([^)]+)\)/);
                 if (m[1].match(/\|/)) {