Remove unnecessary newlines

This commit is contained in:
Frederic Junod
2015-01-26 10:33:00 +01:00
parent 98f7b5f186
commit 7885ad6ae7
+2 -4
View File
@@ -108,8 +108,7 @@ ol.interaction.PinchZoom.handleDragEvent_ = function(mapBrowserEvent) {
* @this {ol.interaction.PinchZoom} * @this {ol.interaction.PinchZoom}
* @private * @private
*/ */
ol.interaction.PinchZoom.handleUpEvent_ = ol.interaction.PinchZoom.handleUpEvent_ = function(mapBrowserEvent) {
function(mapBrowserEvent) {
if (this.targetPointers.length < 2) { if (this.targetPointers.length < 2) {
var map = mapBrowserEvent.map; var map = mapBrowserEvent.map;
var view = map.getView(); var view = map.getView();
@@ -134,8 +133,7 @@ ol.interaction.PinchZoom.handleUpEvent_ =
* @this {ol.interaction.PinchZoom} * @this {ol.interaction.PinchZoom}
* @private * @private
*/ */
ol.interaction.PinchZoom.handleDownEvent_ = ol.interaction.PinchZoom.handleDownEvent_ = function(mapBrowserEvent) {
function(mapBrowserEvent) {
if (this.targetPointers.length >= 2) { if (this.targetPointers.length >= 2) {
var map = mapBrowserEvent.map; var map = mapBrowserEvent.map;
this.anchor_ = null; this.anchor_ = null;