Switch to sequential ID numbering. Fixes #226.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2645 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -563,7 +563,13 @@
|
||||
|
||||
|
||||
}
|
||||
|
||||
function test_Util_createUniqueIDSeq(t) {
|
||||
t.plan(1);
|
||||
OpenLayers.Util.lastSeqID = 0;
|
||||
OpenLayers.Util.createDiv();
|
||||
OpenLayers.Util.createDiv();
|
||||
t.eq(OpenLayers.Util.createDiv().id, "OpenLayersDiv3", "Div created is sequential, starting at lastSeqID in Util.");
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user