JSDOC/Options.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 29 Jun 2010 06:37:24 +0000 (14:37 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 29 Jun 2010 06:37:24 +0000 (14:37 +0800)
JSDOC/Options.js

index fbe2aef..a330d76 100644 (file)
@@ -40,11 +40,16 @@ Options = {
     },
     init : function()
     {
-        Log.verbose = this.verbose;
-        if (Options.conf) {
-            XObject.extend(this, JSON.parse(File.read(Options.conf)));;
+        this.LOG.verbose = this.verbose;
+        
+        
+        if (this.conf) {
+            XObject.extend(this, JSON.parse(File.read(this.conf)));;
         }
         // help ?? -- usage..
         
+        if (!this.files.length) {
+            
+        }
     }
 }
\ No newline at end of file