From ae8cb99228b48694cc7371d47120ca41610bb62d Mon Sep 17 00:00:00 2001 From: Stephen Sawchuk Date: Mon, 27 Apr 2015 10:31:53 -0400 Subject: [PATCH] docs: fix jsdoc markup for array of arrays dox wasn't parsing the last type. --- lib/storage/file.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/storage/file.js b/lib/storage/file.js index 3b2d0d5c3f1..fec17f9c0ac 100644 --- a/lib/storage/file.js +++ b/lib/storage/file.js @@ -781,18 +781,18 @@ File.prototype.getMetadata = function(callback) { * @param {object} options - Configuration object. * @param {object} options.expiration - Timestamp (seconds since epoch) when * this policy will expire. - * @param {object[][]=} options.equals - Array of request parameters and their - * expected value (e.g. [['$', '']]). Values are translated - * into equality constraints in the conditions field of the policy document - * (e.g. ['eq', '$', '']). If only one equality condition is - * to be specified, options.equals can be a one-dimensional array (e.g. - * ['$', '']). - * @param {object[][]=} options.startsWith - Array of request parameters and + * @param {array|array[]=} options.equals - Array of request parameters and + * their expected value (e.g. [['$', '']]). Values are + * translated into equality constraints in the conditions field of the + * policy document (e.g. ['eq', '$', '']). If only one + * equality condition is to be specified, options.equals can be a one- + * dimensional array (e.g. ['$', '']). + * @param {array|array[]=} options.startsWith - Array of request parameters and * their expected prefixes (e.g. [['$', '']). Values are * translated into starts-with constraints in the conditions field of the * policy document (e.g. ['starts-with', '$', '']). If only - * one prefix condition is to be specified, options.startsWith can be a - * one-dimensional array (e.g. ['$', '']). + * one prefix condition is to be specified, options.startsWith can be a one- + * dimensional array (e.g. ['$', '']). * @param {string=} options.acl - ACL for the object from possibly predefined * ACLs. * @param {string=} options.successRedirect - The URL to which the user client