Improved extension example docs and destroy method.

This commit is contained in:
ahocevar
2012-01-22 21:19:00 +01:00
parent ed88941280
commit 5a1378cdab
2 changed files with 6 additions and 3 deletions

View File

@@ -94,6 +94,7 @@ OpenLayers.Events.buttonclick = OpenLayers.Class({
for (var i=this.events.length-1; i>=0; --i) {
this.target.unregister(this.events[i], this, this.buttonClick);
}
delete this.target;
},
/**