[OpenLayers-Commits] r5115 - sandbox/ianmayo/branches/rss/openlayers/lib/OpenLayers
commits at openlayers.org
commits at openlayers.org
Mon Nov 5 14:40:12 EST 2007
Author: ianmayo
Date: 2007-11-05 14:40:11 -0500 (Mon, 05 Nov 2007)
New Revision: 5115
Modified:
sandbox/ianmayo/branches/rss/openlayers/lib/OpenLayers/IconFactory.js
Log:
Ditch commented out text, tidy comments
Modified: sandbox/ianmayo/branches/rss/openlayers/lib/OpenLayers/IconFactory.js
===================================================================
--- sandbox/ianmayo/branches/rss/openlayers/lib/OpenLayers/IconFactory.js 2007-11-05 17:41:39 UTC (rev 5114)
+++ sandbox/ianmayo/branches/rss/openlayers/lib/OpenLayers/IconFactory.js 2007-11-05 19:40:11 UTC (rev 5115)
@@ -61,16 +61,8 @@
initialize: function(options) {
OpenLayers.Control.prototype.initialize.apply(this, [options]);
},
-
-
-// initialize: function (url, size, offset, calculateOffset) {
-// this.url = url;
-// this.size = (size) ? size : new OpenLayers.Size(20,20);
-// this.offset = offset ? offset : new OpenLayers.Pixel(-(this.size.w/2), -(this.size.h/2));
-// this.calculateOffset = calculateOffset;
-// },
-//
+
/**
* Method: createIcon
*
@@ -98,17 +90,17 @@
/**
- * Method: convertVanilla
+ * Method: convertLowercase
* inString - {String} the string to convert
* Returns:
- * {String} the string, exactly as it was passed in
+ * {String} the string, converted to lower case
*/
convertLowerCase: function(inString) {
return inString.toLowerCase();
},
/**
- * Method: removeWhiteSpace
+ * Method: replaceWhiteSpace
* inString - {String} the string to convert
* Returns:
* {String} the string, with blocks of whitespace replaced by single underscores
More information about the Commits
mailing list