JSDOC/Packer.js
[gnome.introspection-doc-generator] / JSDOC / Packer.js
index 1c1e96b..11cf002 100644 (file)
@@ -70,6 +70,11 @@ Packer = function(cfg)
 {
     
     XObject.extend(this, cfg);
+    
+    if (this.srcfile) {
+        this.loadSourceFile();
+    }
+    
     if (!this.files) {
         throw "No Files";
     }
@@ -81,6 +86,11 @@ Packer = function(cfg)
  
 }
 Packer.prototype = {
+    /**
+     * @prop srcfiles {String} file containing a list of files/or classes to use.
+     */
+    srcfiles : false,
+    
     /**
      * @prop files {Array} list of files to compress (must be full path)
      */