From e2b2004aa4b59be0403e7aedbba904e9b0c2ab59 Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Tue, 3 May 2016 11:42:39 +0200 Subject: [PATCH] Make olx.view.FitOptions.padding optional Makes it consistent with other attributes. --- externs/olx.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index bd157096af..618265f930 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -7404,7 +7404,8 @@ olx.view; /** - * @typedef {{padding: !Array., + * @typedef {{ + * padding: (!Array.|undefined), * constrainResolution: (boolean|undefined), * nearest: (boolean|undefined), * maxZoom: (number|undefined), @@ -7417,7 +7418,7 @@ olx.view.FitOptions; /** * Padding (in pixels) to be cleared inside the view. Values in the array are * top, right, bottom and left padding. Default is `[0, 0, 0, 0]`. - * @type {!Array.} + * @type {!Array.|undefined} * @api */ olx.view.FitOptions.prototype.padding;