From d401ef909929adeb6bd14dbaffc9ae636b33cf5e Mon Sep 17 00:00:00 2001 From: Joseph Orbegoso Pea Date: Mon, 25 May 2015 17:51:28 -0700 Subject: [PATCH] Added missing parameter documentation for api.addFiles. I'm not sure if this is the complete description of the `fileOptions` parameter, but it would be helpful to see in the docs. Is `fileOptions` used by anything other than build plugins, so that I may update this PR? --- tools/package-api.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/package-api.js b/tools/package-api.js index 35875107f5..326f654ceb 100644 --- a/tools/package-api.js +++ b/tools/package-api.js @@ -282,6 +282,8 @@ _.extend(PackageAPI.prototype, { * on the server (or the client), you can pass in the second argument * (e.g., 'server', 'client', 'web.browser', 'web.cordova') to specify * what architecture the file is used with. + * @param {Object} [fileOptions] Options that get will be passed to build + * plugins (f.e. the coffeescript plugin). */ addFiles: function (paths, arch, fileOptions) { var self = this;