You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by et...@apache.org on 2008/02/29 04:02:59 UTC

svn commit: r632215 - /incubator/shindig/trunk/features/core/json.js

Author: etnu
Date: Thu Feb 28 19:02:49 2008
New Revision: 632215

URL: http://svn.apache.org/viewvc?rev=632215&view=rev
Log:
Fixed missing whitelist variable in json (introduced by last json patch).


Modified:
    incubator/shindig/trunk/features/core/json.js

Modified: incubator/shindig/trunk/features/core/json.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/core/json.js?rev=632215&r1=632214&r2=632215&view=diff
==============================================================================
--- incubator/shindig/trunk/features/core/json.js (original)
+++ incubator/shindig/trunk/features/core/json.js Thu Feb 28 19:02:49 2008
@@ -122,7 +122,7 @@
         // placeholder for non-JSON values.
         l = value.length;
         for (i = 0; i < l; i += 1) {
-          a.push(stringify(value[i], whitelist) || 'null');
+          a.push(stringify(value[i]) || 'null');
         }
         // Join all of the elements together and wrap them in brackets.
         return '[' + a.join(',') + ']';