Revision: 4192
          http://vexi.svn.sourceforge.net/vexi/?rev=4192&view=rev
Author:   mkpg2
Date:     2011-07-12 20:48:59 +0000 (Tue, 12 Jul 2011)

Log Message:
-----------
Fix. Syntax error.

Modified Paths:
--------------
    trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/JSDate.jpp

Modified: trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/JSDate.jpp
===================================================================
--- trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/JSDate.jpp       
2011-07-12 01:27:21 UTC (rev 4191)
+++ trunk/org.vexi-library.js/src/main/jpp/org/ibex/js/JSDate.jpp       
2011-07-12 20:48:59 UTC (rev 4192)
@@ -71,7 +71,7 @@
 
     static public JS Constructor = new JS.Constructor("Date") {
         public JS new_(JS[] args) throws JSExn {
-            if (args.length==0 or args.length>3)
+            if (args.length==0 || args.length>3)
                 throw new JSExn("vexi.js.Date constructor expects arguments: 
year[, month, day]");
             int[] parts = new int[args.length];
             parts[0] = getIntArg(args, 0, 0);  // year


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

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to