Revision: 2714
          http://vexi.svn.sourceforge.net/vexi/?rev=2714&view=rev
Author:   clrg
Date:     2008-01-05 10:37:20 -0800 (Sat, 05 Jan 2008)

Log Message:
-----------
Add missing vexi.js.stringify (whose functionality existed but was not exposed 
on the vexi object)

Modified Paths:
--------------
    trunk/core/org.ibex.js/src/org/ibex/js/Scope.jpp

Modified: trunk/core/org.ibex.js/src/org/ibex/js/Scope.jpp
===================================================================
--- trunk/core/org.ibex.js/src/org/ibex/js/Scope.jpp    2008-01-05 18:37:11 UTC 
(rev 2713)
+++ trunk/core/org.ibex.js/src/org/ibex/js/Scope.jpp    2008-01-05 18:37:20 UTC 
(rev 2714)
@@ -121,6 +121,7 @@
             case "escape": return METHOD;
             case "unescape": return METHOD;
             case "eval": return METHOD;
+            case "stringify": return METHOD;
             //#end
             return super.get(key);
         }
@@ -139,6 +140,7 @@
                 case 1: {
                     //#jsswitch(method)
                        case "eval": return eval(args[0]); 
+                       case "stringify": return JSU.json_marshal(args[0]);
                     case "parseInt": return parseInt(args[0], NC_0);
                     case "parseFloat": return parseFloat(args[0]);
                     case "isNaN": { double d = JSU.toDouble(args[0]); return d 
== d ? JSU.F : JSU.T; }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to