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

index dc031f1..63a5dcd 100644 (file)
@@ -3,7 +3,8 @@
  * Options management...
  */
 XObject = import.XObject.XObject;
-XObject = import.File.File;
+File = import.File.File;
+
 Options = {
     
     "files" : [],  // was _
@@ -41,7 +42,7 @@ Options = {
     {
         Log.verbose = this.verbose;
         if (Options.conf) {
-            
+            XObject.extend(this, JSON.parse(File.read(Options.conf)));;
         }
     }
 }
\ No newline at end of file