Convert all classes to use new-style class definitions. All tests pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1651 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -12,8 +12,8 @@ OpenLayers.Control.MouseToolbar = OpenLayers.Class.create();
|
||||
OpenLayers.Control.MouseToolbar.X = 6;
|
||||
OpenLayers.Control.MouseToolbar.Y = 300;
|
||||
OpenLayers.Control.MouseToolbar.prototype =
|
||||
OpenLayers.Util.extend( new OpenLayers.Control(),
|
||||
OpenLayers.Util.extend( new OpenLayers.Control.MouseDefaults(), {
|
||||
OpenLayers.Class.inherit( OpenLayers.Control,
|
||||
OpenLayers.Control.MouseDefaults, {
|
||||
|
||||
mode: null,
|
||||
|
||||
@@ -306,5 +306,5 @@ OpenLayers.Control.MouseToolbar.prototype =
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user