JSDOC/Packer.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 27 Jul 2010 05:07:10 +0000 (13:07 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 27 Jul 2010 05:07:10 +0000 (13:07 +0800)
JSDOC/Packer.js

index a89722f..897c22d 100644 (file)
@@ -443,6 +443,9 @@ Packer.prototype = {
          
         File.write(transmd5, '');
         for(v in map) {
+            if (!v.length) {
+                continue;
+            }
             File.append(transfile, l + "\n\t" + JSON.stringify(v) + " : " + JSON.stringify(v));
             l = ',';
             // strings are raw... - as the where encoded to start with!!!