Remove unnecessary newlines
This commit is contained in:
@@ -94,8 +94,7 @@ ol.format.TopoJSON.concatenateArcs_ = function(indices, arcs) {
|
||||
* @return {ol.geom.Point} Geometry.
|
||||
* @private
|
||||
*/
|
||||
ol.format.TopoJSON.readPointGeometry_ =
|
||||
function(object, scale, translate) {
|
||||
ol.format.TopoJSON.readPointGeometry_ = function(object, scale, translate) {
|
||||
var coordinates = object.coordinates;
|
||||
if (!goog.isNull(scale) && !goog.isNull(translate)) {
|
||||
ol.format.TopoJSON.transformVertex_(coordinates, scale, translate);
|
||||
|
||||
@@ -21,8 +21,7 @@ goog.require('ol.TileState');
|
||||
* @param {?string} crossOrigin Cross origin.
|
||||
* @param {ol.TileLoadFunctionType} tileLoadFunction Tile load function.
|
||||
*/
|
||||
ol.ImageTile =
|
||||
function(tileCoord, state, src, crossOrigin, tileLoadFunction) {
|
||||
ol.ImageTile = function(tileCoord, state, src, crossOrigin, tileLoadFunction) {
|
||||
|
||||
goog.base(this, tileCoord, state);
|
||||
|
||||
|
||||
@@ -594,8 +594,7 @@ ol.render.canvas.Replay.prototype.drawText = goog.abstractMethod;
|
||||
* @param {ol.geom.Geometry} geometry Geometry.
|
||||
* @param {Object} data Opaque data object.
|
||||
*/
|
||||
ol.render.canvas.Replay.prototype.endGeometry =
|
||||
function(geometry, data) {
|
||||
ol.render.canvas.Replay.prototype.endGeometry = function(geometry, data) {
|
||||
goog.asserts.assert(!goog.isNull(this.beginGeometryInstruction1_));
|
||||
this.beginGeometryInstruction1_[3] = this.instructions.length;
|
||||
this.beginGeometryInstruction1_ = null;
|
||||
|
||||
@@ -156,8 +156,7 @@ ol.source.TileWMS.prototype.getGetFeatureInfoUrl =
|
||||
}
|
||||
|
||||
var tileResolution = tileGrid.getResolution(tileCoord[0]);
|
||||
var tileExtent = tileGrid.getTileCoordExtent(
|
||||
tileCoord, this.tmpExtent_);
|
||||
var tileExtent = tileGrid.getTileCoordExtent(tileCoord, this.tmpExtent_);
|
||||
var tileSize = tileGrid.getTileSize(tileCoord[0]);
|
||||
|
||||
var gutter = this.gutter_;
|
||||
|
||||
Reference in New Issue
Block a user