Inline simple goog.isDef() calls
This commit is contained in:
@@ -73,7 +73,7 @@ ol.MapBrowserEvent = function(type, map, browserEvent, opt_dragging,
|
||||
* @type {boolean}
|
||||
* @api stable
|
||||
*/
|
||||
this.dragging = goog.isDef(opt_dragging) ? opt_dragging : false;
|
||||
this.dragging = opt_dragging !== undefined ? opt_dragging : false;
|
||||
|
||||
};
|
||||
goog.inherits(ol.MapBrowserEvent, ol.MapEvent);
|
||||
|
||||
Reference in New Issue
Block a user