pack.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 27 Jul 2010 04:42:47 +0000 (12:42 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 27 Jul 2010 04:42:47 +0000 (12:42 +0800)
pack.js

diff --git a/pack.js b/pack.js
index c8e0d50..95d3c1e 100644 (file)
--- a/pack.js
+++ b/pack.js
@@ -31,7 +31,7 @@ var cfg = {
     target : false,
     srcfiles : [],
     outputIndex : false,
     target : false,
     srcfiles : [],
     outputIndex : false,
-    autoversion : false
+    autoVersion : false
 }
 
 
 }
 
 
@@ -76,7 +76,7 @@ for(var i =0; i < args.length;i++) {
         continue;
     }
     if (args[i] == '-a') {
         continue;
     }
     if (args[i] == '-a') {
-        cfg.autoversion= true
+        cfg.autoVersion= true
         continue;
     }
     if (cfg.files.indexOf(args[i]) > -1) {
         continue;
     }
     if (cfg.files.indexOf(args[i]) > -1) {