pack.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 09:52:01 +0000 (17:52 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 09:52:01 +0000 (17:52 +0800)
pack.js

diff --git a/pack.js b/pack.js
index bdd5734..5e9d58c 100755 (executable)
--- a/pack.js
+++ b/pack.js
@@ -53,7 +53,7 @@ if (!files.length) {
 }
 var out = '';
 files.forEach(function(f) {
-    out = pack(File.read(f)) + "\n";
+    out += pack(File.read(f)) + "\n";
 });
 if (outfn) {
     File.write(outfn, out);