Changeset 1255
- Timestamp:
- 08/16/06 15:16:46 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Layer.js (modified) (1 diff)
- trunk/openlayers/lib/OpenLayers/Util.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Layer.js
r1206 r1255 119 119 120 120 // catch any randomly tagged-on properties 121 obj =OpenLayers.Util.applyDefaults(obj, this);121 OpenLayers.Util.applyDefaults(obj, this); 122 122 123 123 // a cloned layer should never have its map property set trunk/openlayers/lib/OpenLayers/Util.js
r1206 r1255 241 241 * @param {Object} to 242 242 * @param {Object} from 243 *244 * @type Object245 243 */ 246 244 OpenLayers.Util.applyDefaults = function (to, from) { … … 250 248 } 251 249 } 252 return to;253 250 }; 254 251
