remove unnecessary semicolon and unused variable. Non functional change

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10436 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2010-06-30 11:58:49 +00:00
parent 20a4025af0
commit c8cad59575

View File

@@ -479,7 +479,6 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, {
},
// transform while dragging
onDrag: function(feature, pixel) {
var geom = feature.geometry;
if(feature === control.box) {
control.transformFeature({center: control.center});
control.drawHandles();
@@ -567,7 +566,7 @@ OpenLayers.Control.TransformFeature = OpenLayers.Class(OpenLayers.Control, {
geom._handle = null;
geom._rotationHandle && geom._rotationHandle.destroy();
geom._rotationHandle = null;
};
}
this.box.destroy();
this.box = null;
this.layer = null;