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