diff --git a/lib/deprecated.js b/lib/deprecated.js index a86fcdaa8b..c22b849216 100644 --- a/lib/deprecated.js +++ b/lib/deprecated.js @@ -105,30 +105,6 @@ OpenLayers.Util.clearArray = function(array) { array.length = 0; }; - -/** - * APIFunction: camelize - * Camel-case a hyphenated string. - * Ex. "chicken-head" becomes "chickenHead", and - * "-chicken-head" becomes "ChickenHead". - * - * Parameters: - * str - {String} The string to be camelized. The original is not modified. - * - * Returns: - * {String} The string, camelized - */ - -OpenLayers.String.camelize = function(str) { - var oStringList = str.split('-'); - var camelizedString = oStringList[0]; - for (var i=1, len=oStringList.length; i - - - - - - - - - - diff --git a/tests/deprecated/BaseTypes/String.html b/tests/deprecated/BaseTypes/String.html deleted file mode 100644 index b8a66b8574..0000000000 --- a/tests/deprecated/BaseTypes/String.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - diff --git a/tests/list-tests.html b/tests/list-tests.html index 6fe622d95b..7c4cb1d402 100644 --- a/tests/list-tests.html +++ b/tests/list-tests.html @@ -226,7 +226,6 @@
  • deprecated/Ajax.html
  • deprecated/BaseTypes/Class.html
  • deprecated/BaseTypes/Element.html
  • -
  • deprecated/BaseTypes/String.html
  • deprecated/Control/MouseToolbar.html
  • deprecated/Geometry/Rectangle.html
  • deprecated/Layer/GML.html