Unmixing tabs and spaces. Non-functional change. Four spaces for tabs.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9588 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2009-07-24 19:50:45 +00:00
parent f7a2efe2bf
commit 1afb016408
+13 -13
View File
@@ -109,7 +109,7 @@ OpenLayers.ElementsIndexer = OpenLayers.Class({
// If the new node should be before another in the index // If the new node should be before another in the index
// order, return the node before which we have to insert the new one; // order, return the node before which we have to insert the new one;
// else, return null to indicate that the new node can be appended. // else, return null to indicate that the new node can be appended.
return this.getNextElement(rightIndex); return this.getNextElement(rightIndex);
}, },
/** /**
@@ -198,7 +198,7 @@ OpenLayers.ElementsIndexer = OpenLayers.Class({
this.maxZIndex = zIndex; this.maxZIndex = zIndex;
} }
}, },
/** /**
* APIMethod: getNextElement * APIMethod: getNextElement
* Get the next element in the order stack. * Get the next element in the order stack.
@@ -211,17 +211,17 @@ OpenLayers.ElementsIndexer = OpenLayers.Class({
* null. * null.
*/ */
getNextElement: function(index) { getNextElement: function(index) {
var nextIndex = index + 1; var nextIndex = index + 1;
if (nextIndex < this.order.length){ if (nextIndex < this.order.length) {
var nextElement = OpenLayers.Util.getElement(this.order[nextIndex]); var nextElement = OpenLayers.Util.getElement(this.order[nextIndex]);
if (nextElement == undefined){ if (nextElement == undefined) {
nextElement = this.getNextElement(nextIndex); nextElement = this.getNextElement(nextIndex);
} }
return nextElement; return nextElement;
} else { } else {
return null; return null;
} }
}, },
CLASS_NAME: "OpenLayers.ElementsIndexer" CLASS_NAME: "OpenLayers.ElementsIndexer"
}); });