From c29c292efd7002adee2e01d42f83283929acc011 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 18 Nov 2013 14:54:08 +0100 Subject: [PATCH] Mark constant RegExps, thanks @fredj --- src/ol/color/color.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/color/color.js b/src/ol/color/color.js index 2681c95fc6..c4f3a4f476 100644 --- a/src/ol/color/color.js +++ b/src/ol/color/color.js @@ -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_ =