src/jsdoc/Packer.vala
authorMichael <michael@roojs.com>
Tue, 4 Jul 2017 10:10:37 +0000 (18:10 +0800)
committerMichael <michael@roojs.com>
Tue, 4 Jul 2017 10:10:37 +0000 (18:10 +0800)
src/jsdoc/Packer.vala

index af4da23..ca9a29a 100644 (file)
@@ -496,15 +496,16 @@ namespace JSDOC
                        print("using MIN FILE  %s\n", minfile);
                        if (str.length > 0) {
                            if (this.targetStream != null) {
-                                       this.targetStream.write(("// " + 
-                                               ( (file.length > PackerRun.opt_real_basedir.length) ? file.substring(PackerRun.opt_real_basedir.length)  : file ) + 
-                                               "\n").data); 
-                                       this.targetStream.write(("// " + file ) + "\n").data);                                  this.targetStream.write((str + "\n").data); 
+//                                     this.targetStream.write(("// " + 
+//                                             ( (file.length > PackerRun.opt_real_basedir.length) ? file.substring(PackerRun.opt_real_basedir.length)  : file ) + 
+//                                             "\n").data); 
+                                       this.targetStream.write(("// " + file ) + "\n").data);                                  
+                                       this.targetStream.write((str + "\n").data); 
 
                            } else {
                                this.outstr += "//" + 
                                        ( (file.length > PackerRun.opt_real_basedir.length) ? file.substring(PackerRun.opt_real_basedir.length)  : file ) +  "\n";
-                               this.outstr += str + "\n";
+                               this.outstr += "//" +  file  +                                  this.outstr += str + "\n";
                            }
                            
                        }