Create 'type' annotation for 'const' variables

This commit is contained in:
Frederic Junod
2014-01-09 17:09:29 +01:00
parent 752ac584b0
commit b53ddf5b42
7 changed files with 108 additions and 54 deletions

View File

@@ -44,14 +44,16 @@ goog.inherits(ol.format.IGC, ol.format.Text);
/**
* @const {Array.<string>}
* @const
* @type {Array.<string>}
* @private
*/
ol.format.IGC.EXTENSIONS_ = ['.igc'];
/**
* @const {RegExp}
* @const
* @type {RegExp}
* @private
*/
ol.format.IGC.B_RECORD_RE_ =
@@ -59,14 +61,16 @@ ol.format.IGC.B_RECORD_RE_ =
/**
* @const {RegExp}
* @const
* @type {RegExp}
* @private
*/
ol.format.IGC.H_RECORD_RE_ = /^H.([A-Z]{3}).*?:(.*)/;
/**
* @const {RegExp}
* @const
* @type {RegExp}
* @private
*/
ol.format.IGC.HFDTE_RECORD_RE_ = /^HFDTE(\d{2})(\d{2})(\d{2})/;