Ticket #565: inheritance.patch
| File inheritance.patch, 1.5 kB (added by tschaub, 2 years ago) |
|---|
-
lib/OpenLayers/BaseTypes.js
old new 32 32 // 33 33 // to be revisited in 3.0 34 34 // 35 if (arguments[i]. toString) {35 if (arguments[i].hasOwnProperty('toString')) { 36 36 proto.toString = arguments[i].toString; 37 37 } 38 38 } -
lib/OpenLayers/Geometry/Collection.js
old new 47 47 }, 48 48 49 49 /** 50 * @returns The coordinates components as a string 51 * @type String 52 */ 53 toString: function() { 54 return this.components.toString(); 55 }, 56 57 58 /** 50 59 * @returns An exact clone of this collection 51 60 * @type OpenLayers.Geometry.Collection 52 61 */ -
lib/OpenLayers/Geometry/LineString.js
old new 25 25 }, 26 26 27 27 /** 28 * @returns The coordinates components as a string29 * @type String30 */31 toString: function() {32 return this.components.toString();33 },34 35 /**36 28 * @returns An exact clone of this OpenLayers.Feature 37 29 * @type OpenLayers.Feature 38 30 */
