deprecate Rico itself
This commit is contained in:
@@ -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; }
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user