remove question mark since all object properties are nullable by default
This commit is contained in:
@@ -30,7 +30,7 @@ ol.control.Control = function(options) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {?Element}
|
* @type {Element}
|
||||||
*/
|
*/
|
||||||
this.target_ = goog.isDef(options.target) ?
|
this.target_ = goog.isDef(options.target) ?
|
||||||
goog.dom.getElement(options.target) : null;
|
goog.dom.getElement(options.target) : null;
|
||||||
|
|||||||
Reference in New Issue
Block a user