Revision: 4635 http://sourceforge.net/p/vexi/code/4635 Author: clrg Date: 2014-01-02 16:01:33 +0000 (Thu, 02 Jan 2014) Log Message: ----------- Comment out "should not happen" exception, as it actually does in practise
Modified Paths: -------------- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex1.t branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex2.t branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex3.t Modified: branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t =================================================================== --- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t 2013-12-25 01:44:42 UTC (rev 4634) +++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t 2014-01-02 16:01:33 UTC (rev 4635) @@ -608,16 +608,15 @@ } else { // removing a child - var c = null; var b = $content[trapname]; if (b) { - c = b[0]; + // FIXME: except it actually does in practise + //if (b[0] == null) throw "Should not happen"; + // finish removal + $content[trapname] = null; } else { - throw "Attempt to get null child from a box"; + throw "Attempt to get null child from a grid"; } - if (!c) throw "Should not happen"; - // finish removal - $content[trapname] = null; } schedulePack(); return; Modified: branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex1.t =================================================================== --- branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex1.t 2013-12-25 01:44:42 UTC (rev 4634) +++ branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex1.t 2014-01-02 16:01:33 UTC (rev 4635) @@ -1,7 +1,7 @@ <!-- public domain --> <vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta" - xmlns:lay="vexi.layout" xmlns="visualtest.grid"> + xmlns:lay="vexi.layout" xmlns="poke.vexi.layout.grid"> <ui:box> <lay:grid cols="4"> <block fill="blue" /> Modified: branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex2.t =================================================================== --- branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex2.t 2013-12-25 01:44:42 UTC (rev 4634) +++ branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex2.t 2014-01-02 16:01:33 UTC (rev 4635) @@ -1,7 +1,7 @@ <!-- public domain --> <vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta" - xmlns:lay="vexi.layout" xmlns="visualtest.grid"> + xmlns:lay="vexi.layout" xmlns="poke.vexi.layout.grid"> <ui:box> <lay:grid cols="2"> <block fill="blue" /> Modified: branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex3.t =================================================================== --- branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex3.t 2013-12-25 01:44:42 UTC (rev 4634) +++ branches/vexi3/org.vexi-vexi.widgets/src_poke/poke/vexi/layout/grid/ex3.t 2014-01-02 16:01:33 UTC (rev 4635) @@ -1,7 +1,7 @@ <!-- public domain --> <vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta" - xmlns:lay="vexi.layout" xmlns="visualtest.grid"> + xmlns:lay="vexi.layout" xmlns="poke.vexi.layout.grid"> <ui:box> <lay:grid cols="4"> <block fill="blue" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn