deprecate Rico itself
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
|
* @requires OpenLayers/Console.js
|
||||||
* @requires OpenLayers/BaseTypes/Class.js
|
* @requires OpenLayers/BaseTypes/Class.js
|
||||||
* @requires OpenLayers/BaseTypes/Element.js
|
* @requires OpenLayers/BaseTypes/Element.js
|
||||||
*/
|
*/
|
||||||
@@ -10,6 +11,9 @@
|
|||||||
*
|
*
|
||||||
* This file is licensed under the Apache License, Version 2.0.
|
* This file is licensed under the Apache License, Version 2.0.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
OpenLayers.Console.warn("OpenLayers.Rico is deprecated");
|
||||||
|
|
||||||
OpenLayers.Rico = OpenLayers.Rico || {};
|
OpenLayers.Rico = OpenLayers.Rico || {};
|
||||||
OpenLayers.Rico.Color = OpenLayers.Class({
|
OpenLayers.Rico.Color = OpenLayers.Class({
|
||||||
|
|
||||||
|
|||||||
+5
-1
@@ -1,4 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
|
* @requires OpenLayers/Console.js
|
||||||
* @requires Rico/Color.js
|
* @requires Rico/Color.js
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -22,6 +23,9 @@
|
|||||||
* permissions * and limitations under the License.
|
* permissions * and limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
OpenLayers.Console.warn("OpenLayers.Rico is deprecated");
|
||||||
|
|
||||||
OpenLayers.Rico = OpenLayers.Rico || {};
|
OpenLayers.Rico = OpenLayers.Rico || {};
|
||||||
OpenLayers.Rico.Corner = {
|
OpenLayers.Rico.Corner = {
|
||||||
|
|
||||||
@@ -332,4 +336,4 @@ OpenLayers.Rico.Corner = {
|
|||||||
_isTopRounded: function() { return this._hasString(this.options.corners, "all", "top", "tl", "tr"); },
|
_isTopRounded: function() { return this._hasString(this.options.corners, "all", "top", "tl", "tr"); },
|
||||||
_isBottomRounded: function() { return this._hasString(this.options.corners, "all", "bottom", "bl", "br"); },
|
_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; }
|
_hasSingleTextChild: function(el) { return el.childNodes.length == 1 && el.childNodes[0].nodeType == 3; }
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user