From: alan Date: Wed, 28 Apr 2010 05:33:04 +0000 (+0800) Subject: JSDOC/Packer.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=8cf7cc8fbe1e9ecc71262766af1c803bf769e127 JSDOC/Packer.js --- diff --git a/JSDOC/Packer.js b/JSDOC/Packer.js index c60f089..1de66f7 100644 --- a/JSDOC/Packer.js +++ b/JSDOC/Packer.js @@ -132,12 +132,12 @@ Packer.prototype = { lines.forEach(function(f) { if (/^\s*\//.test(f) || !/[a-z]+/i.test(f)) { // skip comments.. - continue; + return; } if (/\.js$/.test(f)) { _this.files.push( f); // js file.. - continue; + return; } //println("ADD"+ f.replace(/\./g, '/'));