Readd the window.$ mapping in the deprecated.js file
This commit is contained in:
@@ -164,6 +164,17 @@ OpenLayers.Util.getArgs = function(url) {
|
|||||||
return OpenLayers.Util.getParameters(url);
|
return OpenLayers.Util.getParameters(url);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Maintain existing definition of $.
|
||||||
|
*
|
||||||
|
* The use of our $-method is deprecated and the mapping of
|
||||||
|
* OpenLayers.Util.getElement will eventually be removed. Do not depend on
|
||||||
|
* window.$ being defined by OpenLayers.
|
||||||
|
*/
|
||||||
|
if(typeof window.$ === "undefined") {
|
||||||
|
window.$ = OpenLayers.Util.getElement;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Namespace: OpenLayers.Ajax
|
* Namespace: OpenLayers.Ajax
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user