Initialize all properties in constructor in controls

This commit is contained in:
Tom Payne
2013-04-18 21:01:58 +02:00
parent 669d47e8d2
commit 43cfc2a4cd
2 changed files with 3 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ ol.control.ScaleLine = function(opt_options) {
* @private
* @type {number|undefined}
*/
this.renderedWidth_;
this.renderedWidth_ = undefined;
/**
* @private