[OpenLayers-Commits] r3917 - sandbox/camptocamp/feature/lib/OpenLayers/Control

commits at openlayers.org commits at openlayers.org
Tue Aug 21 08:43:22 EDT 2007


Author: fredj
Date: 2007-08-21 08:43:20 -0400 (Tue, 21 Aug 2007)
New Revision: 3917

Modified:
   sandbox/camptocamp/feature/lib/OpenLayers/Control/ModifyFeature.js
Log:
use new style class syntax

Modified: sandbox/camptocamp/feature/lib/OpenLayers/Control/ModifyFeature.js
===================================================================
--- sandbox/camptocamp/feature/lib/OpenLayers/Control/ModifyFeature.js	2007-08-21 10:26:27 UTC (rev 3916)
+++ sandbox/camptocamp/feature/lib/OpenLayers/Control/ModifyFeature.js	2007-08-21 12:43:20 UTC (rev 3917)
@@ -9,9 +9,7 @@
  * @class
  * @requires OpenLayers/Control/DragFeature.js
  */
-OpenLayers.Control.ModifyFeature = OpenLayers.Class.create();
-OpenLayers.Control.ModifyFeature.prototype = 
-  OpenLayers.Class.inherit(OpenLayers.Control, {
+OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
 
     /**
      * To restrict dragging to a limited set of geometry types, send a list



More information about the Commits mailing list