diff --git a/lib/Rico/Color.js b/lib/Rico/Color.js index 6741e7c014..12f5284f77 100644 --- a/lib/Rico/Color.js +++ b/lib/Rico/Color.js @@ -1,4 +1,5 @@ /** + * @requires OpenLayers/Console.js * @requires OpenLayers/BaseTypes/Class.js * @requires OpenLayers/BaseTypes/Element.js */ @@ -10,6 +11,9 @@ * * This file is licensed under the Apache License, Version 2.0. */ + +OpenLayers.Console.warn("OpenLayers.Rico is deprecated"); + OpenLayers.Rico = OpenLayers.Rico || {}; OpenLayers.Rico.Color = OpenLayers.Class({ diff --git a/lib/Rico/Corner.js b/lib/Rico/Corner.js index 729017b130..e5479e5b35 100644 --- a/lib/Rico/Corner.js +++ b/lib/Rico/Corner.js @@ -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; } -}; \ No newline at end of file +};