Mark constant RegExps, thanks @fredj

This commit is contained in:
Tom Payne
2013-11-18 14:54:08 +01:00
parent 1fe9f25359
commit c29c292efd

View File

@@ -32,7 +32,7 @@ ol.Color;
/**
* This RegExp matches # followed by 3 or 6 hex digits.
* @type {RegExp}
* @const {RegExp}
* @private
*/
ol.color.hexColorRe_ = /^#(?:[0-9a-f]{3}){1,2}$/i;
@@ -40,7 +40,7 @@ ol.color.hexColorRe_ = /^#(?:[0-9a-f]{3}){1,2}$/i;
/**
* @see goog.color.rgbColorRe_
* @type {RegExp}
* @const {RegExp}
* @private
*/
ol.color.rgbColorRe_ =
@@ -49,7 +49,7 @@ ol.color.rgbColorRe_ =
/**
* @see goog.color.alpha.rgbaColorRe_
* @type {RegExp}
* @const {RegExp}
* @private
*/
ol.color.rgbaColorRe_ =