Revision: 3105
          http://vexi.svn.sourceforge.net/vexi/?rev=3105&view=rev
Author:   mkpg2
Date:     2008-09-23 19:45:03 +0000 (Tue, 23 Sep 2008)

Log Message:
-----------
Adding method vexi.trace

Modified Paths:
--------------
    trunk/core/org.vexi.core/src/org/vexi/core/Vexi.jpp

Modified: trunk/core/org.vexi.core/src/org/vexi/core/Vexi.jpp
===================================================================
--- trunk/core/org.vexi.core/src/org/vexi/core/Vexi.jpp 2008-09-19 14:53:32 UTC 
(rev 3104)
+++ trunk/core/org.vexi.core/src/org/vexi/core/Vexi.jpp 2008-09-23 19:45:03 UTC 
(rev 3105)
@@ -4,8 +4,6 @@
 
 package org.vexi.core;
 
-import java.io.IOException;
-
 import org.ibex.crypto.MD5;
 import org.ibex.js.*;
 import org.vexi.js.*;
@@ -119,6 +117,7 @@
         case "thread": return getSub(name);
         case "thread.yield": return METHOD;
         case "thread.sleep": return METHOD;
+        case "trace": return METHOD;
         case "ui": return getSub(name);
         case "ui.font": return getSub(name);
         case "ui.fontsize": return getSub(name);
@@ -272,6 +271,7 @@
                     case "net.rpc.xml": return new 
XMLRPC(JSU.toString(args[0]), "");
                     case "regexp": return new JSRegexp(args[0], null);
                     case "thread.sleep": JSU.sleep(JSU.toInt(args[0])); return 
null;
+                    case "trace": JSU.warn(JSON.marshal(args[0])); return 
null; 
                     case "ui.browser": 
Platform.newBrowserWindow(JSU.toString(args[0])); return null;
                     case "ui.font.install": Resources.installFont(args[0]); 
return null;
                     case "ui.insets":


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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to