Revision: 2185
          http://vexi.svn.sourceforge.net/vexi/?rev=2185&view=rev
Author:   clrg
Date:     2007-09-13 15:16:27 -0700 (Thu, 13 Sep 2007)

Log Message:
-----------
Semantic (and possible future hard-to-detect) bug fix + description update

Modified Paths:
--------------
    trunk/widgets/org.vexi.widgets/src/vexi/util/vector.t

Modified: trunk/widgets/org.vexi.widgets/src/vexi/util/vector.t
===================================================================
--- trunk/widgets/org.vexi.widgets/src/vexi/util/vector.t       2007-09-13 
22:14:18 UTC (rev 2184)
+++ trunk/widgets/org.vexi.widgets/src/vexi/util/vector.t       2007-09-13 
22:16:27 UTC (rev 2185)
@@ -5,9 +5,9 @@
         <author>Charles Goodwin</author>
         <name>Vector</name>
         <desc>
-            A vector is an ordered list of objects.  A basic rule
-            applies: an object is only ever represented once as an
-            entry in a vector - it will be removed then reinserted.
+            A vector is an arbitrarily ordered list of unqiue objects.
+            As an object is only ever represented once as an entry in a
+            vector duplicate insertions are removed then reinserted.
         </desc>
         <note>
             Functions ordering is for avoiding undeclared warnings.
@@ -22,7 +22,7 @@
     static.newVector = function(v)
     {
         var new_vec = vexi..vexi.util.vector(vexi.box);
-        if (v) new_vec.push(v);
+        if (arguments.length>0) new_vec.push(v);
         return new_vec;
     }
     


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
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to