OpenLayers OpenLayers

Changeset 1255

Show
Ignore:
Timestamp:
08/16/06 15:16:46 (2 years ago)
Author:
euzuro
Message:

it's redundant for applyDefaults() to return anything. thx tschaub

Files:

Legend:

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

    r1206 r1255  
    119119         
    120120        // catch any randomly tagged-on properties 
    121         obj = OpenLayers.Util.applyDefaults(obj, this); 
     121        OpenLayers.Util.applyDefaults(obj, this); 
    122122         
    123123        // a cloned layer should never have its map property set 
  • trunk/openlayers/lib/OpenLayers/Util.js

    r1206 r1255  
    241241* @param {Object} to 
    242242* @param {Object} from 
    243 * 
    244 * @type Object 
    245243*/ 
    246244OpenLayers.Util.applyDefaults = function (to, from) { 
     
    250248        } 
    251249    } 
    252     return to; 
    253250}; 
    254251