Палсеич— (lusever) wrote in changelog,
Палсеич—
lusever
changelog

[js] r283: LJSUP-5547: Update jQuery to v. 1.4.2. R...

Committer: pkornilov
LJSUP-5547: Update jQuery to v. 1.4.2. Remove JSON and JSON.parse method from window scope.
U   trunk/json.js
Modified: trunk/json.js
===================================================================
--- trunk/json.js	2010-02-05 06:16:39 UTC (rev 282)
+++ trunk/json.js	2010-03-03 07:19:59 UTC (rev 283)
@@ -35,7 +35,7 @@
 
 */
 
-
+/* TODO delete. Bug in detection of native window.JSON().
 JSON = {
     parse: function( string ) {
         string = string.replace( /=/g, "\\u3D" );
@@ -46,8 +46,8 @@
         return undefined;
     }
 }
+*/
 
-
 Boolean.prototype.toJSON = function() {
     return this.toString();
 }

Tags: js, lusever
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments