Revision: 4433
          http://vexi.svn.sourceforge.net/vexi/?rev=4433&view=rev
Author:   clrg
Date:     2012-09-13 05:50:34 +0000 (Thu, 13 Sep 2012)
Log Message:
-----------
For 1 line .new calls

Modified Paths:
--------------
    trunk/org.vexi-vexi.pageflow/src_main/vexi/pageflow/state.t
    trunk/org.vexi-vexi.pageflow/src_main/vexi/pageflow/transition.t

Modified: trunk/org.vexi-vexi.pageflow/src_main/vexi/pageflow/state.t
===================================================================
--- trunk/org.vexi-vexi.pageflow/src_main/vexi/pageflow/state.t 2012-08-16 
00:30:29 UTC (rev 4432)
+++ trunk/org.vexi-vexi.pageflow/src_main/vexi/pageflow/state.t 2012-09-13 
05:50:34 UTC (rev 4433)
@@ -1,6 +1,9 @@
-<!-- Copyright 2009 - see COPYING for details [LGPL] -->
+<!-- Copyright 2012 - see COPYING for details [LGPL] -->
 
-<vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta" xmlns="vexi.pageflow">
+<vexi xmlns:ui="vexi://ui"
+      xmlns:meta="vexi://meta"
+      xmlns="vexi.pageflow">
+      
     <meta:doc>
         <author>Michael Goodwin</author>
     </meta:doc>
@@ -20,10 +23,12 @@
    
     <ui:box v_state="true">
         
-        thisbox.transitions = {};
-        thisbox.pageflow;
+        thisbox.name;
         thisbox.view;
         
+        thisbox.pageflow;
+        thisbox.transitions = {};
+        
         thisbox.event ++= function(v) {
             cascade = v;
             var holder = pageflow.holder;
@@ -47,7 +52,13 @@
         
         thisbox.hasExit ++= function() {
             return transitions["exit"]!=null;
-        }; 
+        };
         
+        var arg0 = arguments[0];
+        if (arg0) {
+            name = arg0.name;
+            view = arg0.view;
+        }
+        
     </ui:box>
 </vexi>

Modified: trunk/org.vexi-vexi.pageflow/src_main/vexi/pageflow/transition.t
===================================================================
--- trunk/org.vexi-vexi.pageflow/src_main/vexi/pageflow/transition.t    
2012-08-16 00:30:29 UTC (rev 4432)
+++ trunk/org.vexi-vexi.pageflow/src_main/vexi/pageflow/transition.t    
2012-09-13 05:50:34 UTC (rev 4433)
@@ -1,4 +1,4 @@
-<!-- Copyright 2009 - see COPYING for details [LGPL] -->
+<!-- Copyright 2012 - see COPYING for details [LGPL] -->
 
 <vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta">
     <meta:doc>
@@ -14,5 +14,11 @@
     <ui:box v_transition="true">
         thisbox.name;
         thisbox.next;
+        
+        var arg0 = arguments[0];
+        if (arg0) {
+            name = arg0.name;
+            next = arg0.next;
+        }
     </ui:box>
 </vexi>

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to