Correct order of jsdoc comments, thanks @fredj

This commit is contained in:
Tom Payne
2013-11-18 14:39:37 +01:00
parent f4c5168cdf
commit 1fe9f25359

View File

@@ -31,26 +31,26 @@ ol.Color;
/**
* This RegExp matches # followed by 3 or 6 hex digits.
* @type {RegExp}
* @private
* This RegExp matches # followed by 3 or 6 hex digits.
*/
ol.color.hexColorRe_ = /^#(?:[0-9a-f]{3}){1,2}$/i;
/**
* @see goog.color.rgbColorRe_
* @type {RegExp}
* @private
* @see goog.color.rgbColorRe_
*/
ol.color.rgbColorRe_ =
/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;
/**
* @see goog.color.alpha.rgbaColorRe_
* @type {RegExp}
* @private
* @see goog.color.alpha.rgbaColorRe_
*/
ol.color.rgbaColorRe_ =
/^(?:rgba)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|1|0\.\d{0,10})\)$/i;