Make olx.view.FitOptions.padding optional

Makes it consistent with other attributes.
This commit is contained in:
Guillaume Beraudo
2016-05-03 11:42:39 +02:00
parent a6a0c88641
commit e2b2004aa4
+3 -2
View File
@@ -7404,7 +7404,8 @@ olx.view;
/** /**
* @typedef {{padding: !Array.<number>, * @typedef {{
* padding: (!Array.<number>|undefined),
* constrainResolution: (boolean|undefined), * constrainResolution: (boolean|undefined),
* nearest: (boolean|undefined), * nearest: (boolean|undefined),
* maxZoom: (number|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 * 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]`. * top, right, bottom and left padding. Default is `[0, 0, 0, 0]`.
* @type {!Array.<number>} * @type {!Array.<number>|undefined}
* @api * @api
*/ */
olx.view.FitOptions.prototype.padding; olx.view.FitOptions.prototype.padding;