Toward natural JavaScript syntax
This commit is contained in:
@@ -87,8 +87,7 @@ ol.control.ScaleLine = function(opt_options) {
|
||||
* @private
|
||||
* @type {number}
|
||||
*/
|
||||
this.minWidth_ = ol.isDef(options.minWidth) ?
|
||||
/** @type {number} */ (options.minWidth) : 64;
|
||||
this.minWidth_ = options.minWidth !== undefined ? options.minWidth : 64;
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user