Ticket #1404: increasing_likelyhood_of_typos.patch
| File increasing_likelyhood_of_typos.patch, 1.5 kB (added by tschaub, 10 months ago) |
|---|
-
lib/OpenLayers/Map.js
old new 545 545 } 546 546 this.viewPortDiv = null; 547 547 548 if(this.eventListeners) { 549 this.events.un(this.eventListeners); 550 this.eventListeners = null; 551 } 548 552 this.events.destroy(); 549 553 this.events = null; 550 554 -
lib/OpenLayers/Control.js
old new 178 178 */ 179 179 destroy: function () { 180 180 if(this.events) { 181 if(this.eventListeners) { 182 this.events.un(this.eventListeners); 183 } 181 184 this.events.destroy(); 182 185 this.events = null; 183 186 } 187 this.eventListeners = null; 188 184 189 // eliminate circular references 185 190 if (this.handler) { 186 191 this.handler.destroy(); -
lib/OpenLayers/Layer.js
old new 315 315 this.options = null; 316 316 317 317 if (this.events) { 318 if(this.eventListeners) { 319 this.events.un(this.eventListeners); 320 } 318 321 this.events.destroy(); 319 322 } 323 this.eventListeners = null; 320 324 this.events = null; 321 325 }, 322 326
