Revision: 2114
          http://vexi.svn.sourceforge.net/vexi/?rev=2114&view=rev
Author:   mkpg2
Date:     2007-09-03 08:42:16 -0700 (Mon, 03 Sep 2007)

Log Message:
-----------
Tests. For function.apply()

Modified Paths:
--------------
    trunk/core/org.ibex.js/src_dev/org/ibex/js/RunJS.java

Modified: trunk/core/org.ibex.js/src_dev/org/ibex/js/RunJS.java
===================================================================
--- trunk/core/org.ibex.js/src_dev/org/ibex/js/RunJS.java       2007-09-03 
15:38:56 UTC (rev 2113)
+++ trunk/core/org.ibex.js/src_dev/org/ibex/js/RunJS.java       2007-09-03 
15:42:16 UTC (rev 2114)
@@ -322,6 +322,8 @@
                                        if("string".equals(key)) return 
vexiString;
                                        if("proxy".equals(key)) return new 
JSProxy();
                                        if("xmlrpc".equals(key)) return METHOD;
+                                       if("yield".equals(key)) return METHOD;
+                                       
                                        /*
                                        if("bgget".equals(key)) {
                                                action = "bgget";
@@ -397,6 +399,9 @@
                            if( "xmlrpc".equals(methName)){
                                return new XMLRPC(JSU.toString(args[0]), "");
                            }
+                           if( "yield".equals(methName)){
+                               JSU.sleep(-1);
+                           }
                                        return null;
                                }
                        }


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to