JSDOC/Packer.js
authoralan <alan@desktop.akbkhome.com>
Wed, 28 Apr 2010 05:33:04 +0000 (13:33 +0800)
committeralan <alan@desktop.akbkhome.com>
Wed, 28 Apr 2010 05:33:04 +0000 (13:33 +0800)
JSDOC/Packer.js

index c60f089..1de66f7 100644 (file)
@@ -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, '/'));