deprecate Rico itself

This commit is contained in:
Éric Lemoine
2011-12-09 00:09:04 +01:00
parent 46e15b5359
commit a8be54b0fe
2 changed files with 9 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
/**
* @requires OpenLayers/Console.js
* @requires Rico/Color.js
*/
@@ -22,6 +23,9 @@
* permissions * and limitations under the License.
*
*/
OpenLayers.Console.warn("OpenLayers.Rico is deprecated");
OpenLayers.Rico = OpenLayers.Rico || {};
OpenLayers.Rico.Corner = {
@@ -332,4 +336,4 @@ OpenLayers.Rico.Corner = {
_isTopRounded: function() { return this._hasString(this.options.corners, "all", "top", "tl", "tr"); },
_isBottomRounded: function() { return this._hasString(this.options.corners, "all", "bottom", "bl", "br"); },
_hasSingleTextChild: function(el) { return el.childNodes.length == 1 && el.childNodes[0].nodeType == 3; }
};
};