rem: this.createCRSObject(obj); 
add: geojson.crs = this.createCRSObject(obj); 
context:     write: function(obj, pretty) {        var geojson = {            "type": null        };        if(obj instanceof Array) {            if(obj[0] instanceof OpenLayers.Feature.Vector) {                geojson.features = [];            } else if (obj[0].CLASS_NAME.search("OpenLayers.Geometry") == 0) {                geojson.geometries = [];            }                for(var i=0; i<obj.length; ++i) {                var element = obj[i];                if(element instanceof OpenLayers.Feature.Vector) {                    if(geojson.type == null) {                        geojson.type = "FeatureCollection";                        if(element.layer && element.layer.projection) {                            this.createCRSObject(element);                        }                    } else if(geojson.type != "FeatureCollection") {                        OpenLayers.Console.error("FeatureCollection only supports collections of features: " + element);                        break;                    }                    geojson.features.push(this.extract.feature.apply(this, [element]));                } else if (element.CLASS_NAME.search("OpenLayers.Geometry") == 0) {                    if(geojson.type == null) {                        geojson.type = "GeometryCollection";                    } else if(geojson.type != "GeometryCollection") {                        OpenLayers.Console.error("GeometryCollection only supports collections of geometries: " + element);                        break;                    }                    geojson.geometries.push(this.extract.geometry.apply(this, [element]));                }            }        } else if (obj.CLASS_NAME.search("OpenLayers.Geometry") == 0) {            geojson = this.extract.geometry.apply(this, [obj]);        } else if (obj instanceof OpenLayers.Feature.Vector) {            geojson = this.extract.feature.apply(this, [obj]);            if(obj.layer && obj.layer.projection) {                this.createCRSObject(obj);            }        }        return OpenLayers.Format.JSON.prototype.write.apply(this,                                                            [geojson, pretty]);    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/84ab6d9a2f7ce40cb28ba44a0b4406f02b37c156/GeoJSON.js/buggy/lib/OpenLayers/Format/GeoJSON.js