Fix @type annotation

A description for @type annotation emits a warning.
This commit is contained in:
tsauerwein
2014-11-12 17:10:57 +01:00
parent b3b7579f84
commit 62e9d259b2

View File

@@ -143,16 +143,16 @@ ol.style.AtlasManager.prototype.add =
* @struct
* @param {number} size The size in pixels of the sprite image.
* @param {number} space The space in pixels between images.
* Because texture coordinates are float values, the edges of
* images might not be completely correct (in a way that the
* edges overlap when being rendered). To avoid this we add a
* padding around each image.
*/
ol.style.Atlas = function(size, space) {
/**
* @private
* @type {number} The space in pixels between images.
* Because texture coordinates are float values, the edges of
* images might not be completely correct (in a way that the
* edges overlap when being rendered). To avoid this we add a
* padding around each image.
* @type {number}
*/
this.space_ = space;