Inline simple goog.isDef() calls
This commit is contained in:
@@ -55,7 +55,7 @@ ol.MapEvent = function(type, map, opt_frameState) {
|
||||
* @type {?olx.FrameState}
|
||||
* @api
|
||||
*/
|
||||
this.frameState = goog.isDef(opt_frameState) ? opt_frameState : null;
|
||||
this.frameState = opt_frameState !== undefined ? opt_frameState : null;
|
||||
|
||||
};
|
||||
goog.inherits(ol.MapEvent, goog.events.Event);
|
||||
|
||||
Reference in New Issue
Block a user