From 02efb5c213a211d037204ba32a35b7e583f7235e Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 21 Jul 2006 03:40:31 +0000 Subject: [PATCH] Edit out toJSON() prototypes since they're breaking unit tests. git-svn-id: http://svn.openlayers.org/trunk/openlayers@991 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Ajax.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Ajax.js b/lib/OpenLayers/Ajax.js index c1f7c3f368..0bd94fea29 100644 --- a/lib/OpenLayers/Ajax.js +++ b/lib/OpenLayers/Ajax.js @@ -201,13 +201,14 @@ OpenLayers.addScript = function(url) { } }; - Object.prototype.toJSONString = function () { +/* Object.prototype.toJSONString = function () { return s.object(this); }; Array.prototype.toJSONString = function () { return s.array(this); }; +*/ })(); String.prototype.parseJSON = function () {