replacing tabs with spaces. no functional diffs here.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6673 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -429,7 +429,7 @@ OpenLayers.Ajax.Request = OpenLayers.Class(OpenLayers.Ajax.Base, {
|
||||
*/
|
||||
getStatus: function() {
|
||||
try {
|
||||
return this.transport.status || 0;
|
||||
return this.transport.status || 0;
|
||||
} catch (e) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -147,9 +147,9 @@ OpenLayers.Renderer.Elements = OpenLayers.Class(OpenLayers.Renderer, {
|
||||
node = this.drawGeometryNode(node, geometry);
|
||||
|
||||
// append the node to root (but only if it's new)
|
||||
if (node.parentNode != this.root) {
|
||||
this.root.appendChild(node);
|
||||
}
|
||||
if (node.parentNode != this.root) {
|
||||
this.root.appendChild(node);
|
||||
}
|
||||
this.postDraw(node);
|
||||
} else {
|
||||
node = OpenLayers.Util.getElement(geometry.id);
|
||||
|
||||
@@ -311,7 +311,7 @@ OpenLayers.Easing.Quad = {
|
||||
*/
|
||||
easeInOut: function(t, b, c, d) {
|
||||
if ((t/=d/2) < 1) return c/2*t*t + b;
|
||||
return -c/2 * ((--t)*(t-2) - 1) + b;
|
||||
return -c/2 * ((--t)*(t-2) - 1) + b;
|
||||
},
|
||||
|
||||
CLASS_NAME: "OpenLayers.Easing.Quad"
|
||||
|
||||
@@ -917,7 +917,7 @@ OpenLayers.INCHES_PER_UNIT = {
|
||||
};
|
||||
OpenLayers.INCHES_PER_UNIT["in"]= OpenLayers.INCHES_PER_UNIT.inches;
|
||||
OpenLayers.INCHES_PER_UNIT["degrees"] = OpenLayers.INCHES_PER_UNIT.dd;
|
||||
OpenLayers.INCHES_PER_UNIT["nmi"] = 1852 * OpenLayers.INCHES_PER_UNIT.m;
|
||||
OpenLayers.INCHES_PER_UNIT["nmi"] = 1852 * OpenLayers.INCHES_PER_UNIT.m;
|
||||
|
||||
/**
|
||||
* Constant: DOTS_PER_INCH
|
||||
|
||||
Reference in New Issue
Block a user