lowercase functionname, indicate unique

git-svn-id: http://svn.openlayers.org/trunk/openlayers@969 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-07-18 16:12:31 +00:00
parent 788ee7fee2
commit 0a1529e00a

View File

@@ -1089,9 +1089,9 @@ OpenLayers.Util.getArgs = function() {
* @returns A unique id string, built on the passed in prefix
* @type String
*/
OpenLayers.Util.CreateID = function(prefix) {
OpenLayers.Util.createUniqueID = function(prefix) {
if (prefix == null) {
prefix = "id_";
}
return prefix + Math.round(Math.random() * 10000);
};
};