X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=js%2Fjson2.js;fp=js%2Fjson2.js;h=844fb00ede239460b6ed0087a9296597b45cc1f0;hb=281d73071e7e8adc865e2c50f884faaca08d578f;hp=0b889a3295b535c0e7e7611a059296b5886821f6;hpb=d0657f30c54ded71a43b9f6ea565cec0291a3051;p=pazpar2-moved-to-github.git diff --git a/js/json2.js b/js/json2.js index 0b889a3..844fb00 100644 --- a/js/json2.js +++ b/js/json2.js @@ -156,6 +156,8 @@ alert('IMPORTANT: Remove this line from json2.js before deployment.'); test, toJSON, toString, valueOf */ +// Create a stand-alone object (not sure it will work +this.JSON2 = {}; // Create a JSON object only if one does not already exist. We create the // methods in a closure to avoid creating global variables.