[fusion-commits] r2838 - trunk/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue May 27 02:10:37 PDT 2014
Author: jng
Date: 2014-05-27 02:10:37 -0700 (Tue, 27 May 2014)
New Revision: 2838
Modified:
trunk/lib/fusion.js
Log:
Replace eval() with Fusion.parseJSON()
Modified: trunk/lib/fusion.js
===================================================================
--- trunk/lib/fusion.js 2014-05-22 03:03:54 UTC (rev 2837)
+++ trunk/lib/fusion.js 2014-05-27 09:10:37 UTC (rev 2838)
@@ -824,8 +824,7 @@
*/
xml2json: function(callback, r, json) {
if (json) {
- var o;
- eval("o="+r.responseText);
+ var o = Fusion.parseJSON(r.responseText);
callback(o);
} else {
if (r.status >= 400) {
More information about the fusion-commits
mailing list