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

View File

@@ -7404,7 +7404,8 @@ olx.view;
/**
* @typedef {{padding: !Array.<number>,
* @typedef {{
* padding: (!Array.<number>|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.<number>}
* @type {!Array.<number>|undefined}
* @api
*/
olx.view.FitOptions.prototype.padding;