Initialize all properties in constructor

This commit is contained in:
Tom Payne
2013-04-22 14:45:11 +02:00
parent 003ac5536e
commit d90f292c71

View File

@@ -38,7 +38,7 @@ ol.interaction.DragRotate = function(opt_options) {
* @private * @private
* @type {number|undefined} * @type {number|undefined}
*/ */
this.lastAngle_; this.lastAngle_ = undefined;
}; };
goog.inherits(ol.interaction.DragRotate, ol.interaction.Drag); goog.inherits(ol.interaction.DragRotate, ol.interaction.Drag);