JSDOC/BuildDocs.js
[gnome.introspection-doc-generator] / 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] + '/' + $);
             });
                 
         }