JSDOC/BuildDocs.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 6 Jul 2010 10:16:10 +0000 (18:16 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 6 Jul 2010 10:16:10 +0000 (18:16 +0800)
JSDOC/BuildDocs.js

index cdaf8a4..b614cc6 100644 (file)
@@ -60,7 +60,7 @@ BuildDocs = {
     _getSrcFiles : function() 
     {
         this.srcFiles = [];
-        
+        var _this = this;
         var ext = ["js"];
         if (Options.ext) {
             ext = Options.ext.split(",").map(function($) {return $.toLowerCase()});
@@ -77,7 +77,7 @@ BuildDocs = {
                 if (ext.indexOf(thisExt) < 0) {
                     return;
                 }
-                this.srcFiles.push(Options.src[i] + '/' + $);
+                _this.srcFiles.push(Options.src[i] + '/' + $);
             });
                 
         }