OpenLayers OpenLayers

Changeset 3070

Show
Ignore:
Timestamp:
04/12/07 11:12:44 (2 years ago)
Author:
tschaub
Message:

#662 - prototypes shouldn't get properties that might be extended

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Control/DrawFeature.js

    r2978 r3070  
    2323     * @type {Object} The functions that are sent to the handler for callback 
    2424     */ 
    25     callbacks: {}
     25    callbacks: null
    2626     
    2727    /** 
  • trunk/openlayers/lib/OpenLayers/Control/OverviewMap.js

    r2964 r3070  
    4747     * @type Array(OpenLayers.Layer) 
    4848     */ 
    49     layers: []
     49    layers: null
    5050 
    5151    /** 
     
    6969     * @type: Object 
    7070     */ 
    71     mapOptions: {}
     71    mapOptions: null
    7272 
    7373    /** 
     
    7676     */ 
    7777    initialize: function(options) { 
     78        this.layers = new Array(); 
    7879        OpenLayers.Control.prototype.initialize.apply(this, [options]); 
    7980    }, 
  • trunk/openlayers/lib/OpenLayers/Control/SelectFeature.js

    r3043 r3070  
    4646     * @type {Object} The functions that are sent to the handler for callback 
    4747     */ 
    48     callbacks: {}
     48    callbacks: null
    4949     
    5050    /**