From 76dda4744e7da99907e87d05675e7f4362acd4eb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 21 Jul 2010 19:58:56 +0800 Subject: [PATCH] JSDOC/Packer.js --- JSDOC/Packer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/JSDOC/Packer.js b/JSDOC/Packer.js index e4c3e8b..933156d 100644 --- a/JSDOC/Packer.js +++ b/JSDOC/Packer.js @@ -72,8 +72,8 @@ Packer = function(cfg) XObject.extend(this, cfg); var _this = this; - if (this.srcfile.length) { - this.srcfile.forEach(function(f) { + if (this.srcfiles && this.srcfiles.length) { + this.srcfiles.forEach(function(f) { _this.loadSourceFile(f); }); @@ -93,7 +93,7 @@ Packer.prototype = { /** * @prop srcfiles {String} file containing a list of files/or classes to use. */ - srcfiles : false, + srcfile : false, /** * @prop files {Array} list of files to compress (must be full path) -- 2.39.2