Initialize properties in the constructor

This commit is contained in:
Éric Lemoine
2014-02-18 23:11:56 +01:00
parent 497a71ca6e
commit aee620d2d9
2 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ ol.Feature = function(opt_geometryOrValues) {
* @private
* @type {ol.feature.FeatureStyleFunction|undefined}
*/
this.styleFunction_;
this.styleFunction_ = undefined;
/**
* @private