Revision: 3910
          http://vexi.svn.sourceforge.net/vexi/?rev=3910&view=rev
Author:   clrg
Date:     2010-10-08 14:55:31 +0000 (Fri, 08 Oct 2010)

Log Message:
-----------
Fix silent bug where read trap definitions were actually assignments

Modified Paths:
--------------
    trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/scrollpane.t

Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/scrollpane.t
===================================================================
--- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/scrollpane.t 
2010-10-08 14:34:39 UTC (rev 3909)
+++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/scrollpane.t 
2010-10-08 14:55:31 UTC (rev 3910)
@@ -170,13 +170,13 @@
     static.autohideWrite = function(v) { trapee.autohidehorizontal = v; 
trapee.autohidevertical = v; return; }
     
     /** read trap to return current autohide state */
-    static.autohideRead ++= function() { return trapee.autohidehorizontal and 
trapee.autohidevertical; }
+    static.autohideRead = function() { return trapee.autohidehorizontal and 
trapee.autohidevertical; }
     
     /** write trap to enable or disable scrollbars */
     static.scrollWrite = function(v) { trapee.scrollhorizontal = v; 
trapee.scrollvertical = v; return; }
     
     /** read trap to return current scroll state */
-    static.scrollRead ++= function() { return trapee.scrollhorizontal and 
trapee.scrollvertical; }
+    static.scrollRead = function() { return trapee.scrollhorizontal and 
trapee.scrollvertical; }
     
     var max = vexi.math.max;
     var min = vexi.math.min;


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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to