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:
@@ -10,8 +10,8 @@
|
||||
*/
|
||||
OpenLayers.Layer.WFS = OpenLayers.Class.create();
|
||||
OpenLayers.Layer.WFS.prototype =
|
||||
OpenLayers.Util.extend(new OpenLayers.Layer.Grid(),
|
||||
OpenLayers.Util.extend(new OpenLayers.Layer.Markers(), {
|
||||
OpenLayers.Class.inherit( OpenLayers.Layer.Grid,
|
||||
OpenLayers.Layer.Markers, {
|
||||
|
||||
/** WFS layer is never a base layer.
|
||||
*
|
||||
@@ -227,6 +227,4 @@ OpenLayers.Layer.WFS.prototype =
|
||||
|
||||
/** @final @type String */
|
||||
CLASS_NAME: "OpenLayers.Layer.WFS"
|
||||
}
|
||||
)
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user