JSDOC/Packer.js
[gnome.introspection-doc-generator] / JSDOC / Packer.js
index dc35e7b..a922598 100644 (file)
@@ -81,6 +81,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)
      */
@@ -332,8 +337,9 @@ Packer.prototype = {
         var _this = this;
         toks.forEach(function (t) {
             if (t.type == 'STRN' && t.name == 'DOUBLE_QUOTE') {
-                
-                map.push( sval);
+                var sval = t.data.substring(1,t.data.length-1);
+                var ffn = fn.substring(_this.prefix.length);
+                map[sval] = _this.md5(ffn + '-' + sval);
             }
         })