move Event.stop function into deprecated.js

This commit is contained in:
fredj
2011-11-14 15:59:24 +01:00
parent 3d0d2cbc4e
commit b056b19bf0
3 changed files with 8 additions and 15 deletions

View File

@@ -376,14 +376,6 @@ OpenLayers.Event = {
/* prevent memory leaks in IE */
OpenLayers.Event.observe(window, 'unload', OpenLayers.Event.unloadCache, false);
// FIXME: Remove this in 3.0. In 3.0, Event.stop will no longer be provided
// by OpenLayers.
if (window.Event) {
OpenLayers.Util.applyDefaults(window.Event, OpenLayers.Event);
} else {
var Event = OpenLayers.Event;
}
/**
* Class: OpenLayers.Events
*/