Ticket #880: event.patch
| File event.patch, 0.6 kB (added by crschmidt, 1 year ago) |
|---|
-
lib/OpenLayers/Events.js
old new 324 324 /* prevent memory leaks in IE */ 325 325 OpenLayers.Event.observe(window, 'unload', OpenLayers.Event.unloadCache, false); 326 326 327 if (window.Event) { 328 OpenLayers.Util.extend(window.Event, OpenLayers.Event); 329 } else{327 // FIXME: Remove this in 3.0. In 3.0, Event.stop will no longer be provided 328 // by OpenLayers. 329 if (!window.Event) { 330 330 var Event = OpenLayers.Event; 331 331 } 332 332
