Merge pull request #3209 from fredj/coding-style

Coding style fixes
This commit is contained in:
Frédéric Junod
2015-02-05 14:53:59 +01:00
23 changed files with 10 additions and 21 deletions
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.control.Rotate'); goog.provide('ol.control.Rotate');
goog.require('goog.asserts');
goog.require('goog.dom'); goog.require('goog.dom');
goog.require('goog.dom.TagName'); goog.require('goog.dom.TagName');
goog.require('goog.dom.classlist'); goog.require('goog.dom.classlist');
-1
View File
@@ -1,7 +1,6 @@
goog.provide('ol.format.GML2'); goog.provide('ol.format.GML2');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.dom');
goog.require('goog.dom.NodeType'); goog.require('goog.dom.NodeType');
goog.require('ol.extent'); goog.require('ol.extent');
goog.require('ol.format.GML'); goog.require('ol.format.GML');
-1
View File
@@ -3,7 +3,6 @@ goog.provide('ol.format.GML3');
goog.require('goog.array'); goog.require('goog.array');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.dom');
goog.require('goog.dom.NodeType'); goog.require('goog.dom.NodeType');
goog.require('goog.object'); goog.require('goog.object');
goog.require('ol.Feature'); goog.require('ol.Feature');
-1
View File
@@ -5,7 +5,6 @@ goog.provide('ol.format.GMLBase');
goog.require('goog.array'); goog.require('goog.array');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.dom');
goog.require('goog.dom.NodeType'); goog.require('goog.dom.NodeType');
goog.require('goog.object'); goog.require('goog.object');
goog.require('goog.string'); goog.require('goog.string');
+1 -4
View File
@@ -738,10 +738,7 @@ ol.format.GPX.TRK_SERIALIZERS_ = ol.xml.makeStructureNS(
/** /**
* @const * @const
* @param {*} value Value. * @type {function(*, Array.<*>, string=): (Node|undefined)}
* @param {Array.<*>} objectStack Object stack.
* @param {string=} opt_nodeName Node name.
* @return {Node|undefined} Node.
* @private * @private
*/ */
ol.format.GPX.TRKSEG_NODE_FACTORY_ = ol.xml.makeSimpleNodeFactory('trkpt'); ol.format.GPX.TRKSEG_NODE_FACTORY_ = ol.xml.makeSimpleNodeFactory('trkpt');
-1
View File
@@ -2,7 +2,6 @@ goog.provide('ol.format.WMSGetFeatureInfo');
goog.require('goog.array'); goog.require('goog.array');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.dom');
goog.require('goog.dom.NodeType'); goog.require('goog.dom.NodeType');
goog.require('goog.object'); goog.require('goog.object');
goog.require('goog.string'); goog.require('goog.string');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.geom.Point'); goog.provide('ol.geom.Point');
goog.require('goog.asserts');
goog.require('ol.extent'); goog.require('ol.extent');
goog.require('ol.geom.GeometryType'); goog.require('ol.geom.GeometryType');
goog.require('ol.geom.SimpleGeometry'); goog.require('ol.geom.SimpleGeometry');
@@ -1,6 +1,5 @@
goog.provide('ol.interaction.DragRotateAndZoom'); goog.provide('ol.interaction.DragRotateAndZoom');
goog.require('goog.asserts');
goog.require('goog.math.Vec2'); goog.require('goog.math.Vec2');
goog.require('ol'); goog.require('ol');
goog.require('ol.ViewHint'); goog.require('ol.ViewHint');
@@ -62,8 +61,7 @@ ol.interaction.DragRotateAndZoom = function(opt_options) {
this.lastScaleDelta_ = 0; this.lastScaleDelta_ = 0;
}; };
goog.inherits(ol.interaction.DragRotateAndZoom, goog.inherits(ol.interaction.DragRotateAndZoom, ol.interaction.Pointer);
ol.interaction.Pointer);
/** /**
@@ -1,6 +1,5 @@
goog.provide('ol.interaction.DragRotate'); goog.provide('ol.interaction.DragRotate');
goog.require('goog.asserts');
goog.require('ol'); goog.require('ol');
goog.require('ol.ViewHint'); goog.require('ol.ViewHint');
goog.require('ol.events.ConditionType'); goog.require('ol.events.ConditionType');
-1
View File
@@ -3,7 +3,6 @@
goog.provide('ol.interaction.Interaction'); goog.provide('ol.interaction.Interaction');
goog.provide('ol.interaction.InteractionProperty'); goog.provide('ol.interaction.InteractionProperty');
goog.require('goog.asserts');
goog.require('ol.MapBrowserEvent'); goog.require('ol.MapBrowserEvent');
goog.require('ol.Object'); goog.require('ol.Object');
goog.require('ol.animation'); goog.require('ol.animation');
@@ -1,6 +1,7 @@
goog.provide('ol.interaction.PinchRotate'); goog.provide('ol.interaction.PinchRotate');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.functions');
goog.require('goog.style'); goog.require('goog.style');
goog.require('ol'); goog.require('ol');
goog.require('ol.Coordinate'); goog.require('ol.Coordinate');
@@ -1,6 +1,7 @@
goog.provide('ol.interaction.PinchZoom'); goog.provide('ol.interaction.PinchZoom');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.functions');
goog.require('goog.style'); goog.require('goog.style');
goog.require('ol.Coordinate'); goog.require('ol.Coordinate');
goog.require('ol.ViewHint'); goog.require('ol.ViewHint');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.interaction.Pointer'); goog.provide('ol.interaction.Pointer');
goog.require('goog.asserts');
goog.require('goog.functions'); goog.require('goog.functions');
goog.require('goog.object'); goog.require('goog.object');
goog.require('ol.MapBrowserEvent.EventType'); goog.require('ol.MapBrowserEvent.EventType');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.layer.Layer'); goog.provide('ol.layer.Layer');
goog.require('goog.asserts');
goog.require('goog.events'); goog.require('goog.events');
goog.require('goog.events.EventType'); goog.require('goog.events.EventType');
goog.require('goog.object'); goog.require('goog.object');
+1 -1
View File
@@ -5,7 +5,6 @@
goog.provide('ol.Map'); goog.provide('ol.Map');
goog.provide('ol.MapProperty'); goog.provide('ol.MapProperty');
goog.require('goog.Uri.QueryData');
goog.require('goog.array'); goog.require('goog.array');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.async.AnimationDelay'); goog.require('goog.async.AnimationDelay');
@@ -22,6 +21,7 @@ goog.require('goog.events.KeyHandler');
goog.require('goog.events.KeyHandler.EventType'); goog.require('goog.events.KeyHandler.EventType');
goog.require('goog.events.MouseWheelHandler'); goog.require('goog.events.MouseWheelHandler');
goog.require('goog.events.MouseWheelHandler.EventType'); goog.require('goog.events.MouseWheelHandler.EventType');
goog.require('goog.functions');
goog.require('goog.log'); goog.require('goog.log');
goog.require('goog.log.Level'); goog.require('goog.log.Level');
goog.require('goog.object'); goog.require('goog.object');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.render.IReplayGroup'); goog.provide('ol.render.IReplayGroup');
goog.require('goog.functions');
goog.require('ol.render.IVectorContext'); goog.require('ol.render.IVectorContext');
@@ -1,6 +1,7 @@
goog.provide('ol.renderer.canvas.ImageLayer'); goog.provide('ol.renderer.canvas.ImageLayer');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.functions');
goog.require('goog.vec.Mat4'); goog.require('goog.vec.Mat4');
goog.require('ol.ImageBase'); goog.require('ol.ImageBase');
goog.require('ol.ViewHint'); goog.require('ol.ViewHint');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.renderer.dom.Layer'); goog.provide('ol.renderer.dom.Layer');
goog.require('goog.dom');
goog.require('ol.layer.Layer'); goog.require('ol.layer.Layer');
goog.require('ol.renderer.Layer'); goog.require('ol.renderer.Layer');
+1
View File
@@ -4,6 +4,7 @@ goog.require('goog.Disposable');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.events'); goog.require('goog.events');
goog.require('goog.events.EventType'); goog.require('goog.events.EventType');
goog.require('goog.functions');
goog.require('ol.ImageState'); goog.require('ol.ImageState');
goog.require('ol.TileRange'); goog.require('ol.TileRange');
goog.require('ol.TileState'); goog.require('ol.TileState');
+1
View File
@@ -4,6 +4,7 @@ goog.provide('ol.renderer.Map');
goog.require('goog.Disposable'); goog.require('goog.Disposable');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.dispose'); goog.require('goog.dispose');
goog.require('goog.functions');
goog.require('goog.object'); goog.require('goog.object');
goog.require('goog.vec.Mat4'); goog.require('goog.vec.Mat4');
goog.require('ol.layer.Layer'); goog.require('ol.layer.Layer');
@@ -1,6 +1,7 @@
goog.provide('ol.renderer.webgl.ImageLayer'); goog.provide('ol.renderer.webgl.ImageLayer');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.functions');
goog.require('goog.vec.Mat4'); goog.require('goog.vec.Mat4');
goog.require('goog.webgl'); goog.require('goog.webgl');
goog.require('ol.Coordinate'); goog.require('ol.Coordinate');
+1
View File
@@ -4,6 +4,7 @@ goog.provide('ol.style.AtlasManager');
goog.require('goog.asserts'); goog.require('goog.asserts');
goog.require('goog.dom'); goog.require('goog.dom');
goog.require('goog.dom.TagName'); goog.require('goog.dom.TagName');
goog.require('goog.functions');
goog.require('goog.object'); goog.require('goog.object');
goog.require('ol'); goog.require('ol');
-1
View File
@@ -1,6 +1,5 @@
goog.provide('ol.TileCache'); goog.provide('ol.TileCache');
goog.require('goog.asserts');
goog.require('ol'); goog.require('ol');
goog.require('ol.TileRange'); goog.require('ol.TileRange');
goog.require('ol.structs.LRUCache'); goog.require('ol.structs.LRUCache');