Update Layer classes to use new Class.create/inherit functions.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1649 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-10-06 15:33:29 +00:00
parent f49885444b
commit 95ec8bdc82
17 changed files with 23 additions and 25 deletions

View File

@@ -10,7 +10,7 @@
*/
OpenLayers.Layer.Boxes = OpenLayers.Class.create();
OpenLayers.Layer.Boxes.prototype =
OpenLayers.Util.extend( new OpenLayers.Layer.Markers(), {
OpenLayers.Class.inherit( OpenLayers.Layer.Markers, {
initialize: function () {
OpenLayers.Layer.Markers.prototype.initialize.apply(this, arguments);