X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Forg%2Fxwt%2Fbuiltin%2Fsplash.xwt;h=b0fc15175846d3ea38e79676c290669dc88dd755;hb=de378041d5ca2aca1a2b5a31ef15ae90a86c977f;hp=a62061cd51b1589c89b52644f278e85008f63ff6;hpb=e1bf2123524ba1cc258188314733f62c2bf45c00;p=org.ibex.core.git diff --git a/src/org/xwt/builtin/splash.xwt b/src/org/xwt/builtin/splash.xwt index a62061c..b0fc151 100644 --- a/src/org/xwt/builtin/splash.xwt +++ b/src/org/xwt/builtin/splash.xwt @@ -47,13 +47,13 @@ var new_xwt = xwt.clone(new_rr); xwt.thread = function() { -for(var i=0; 100>i; i++) { -progress(i, 100); -xwt.thread.yield(); -} - new_xwt.apply(xwt.box, new_xwt["main.xwt"]); - thisbox = null; + for(var i=0; 100>i; i++) { + progress(i, 100); + xwt.thread.yield(); } + new_xwt.apply(xwt.box, new_xwt["main.xwt"]); + thisbox = null; + } xwt.log.println("leaving"); } @@ -76,3 +76,4 @@ xwt.log.println("leaving"); + \ No newline at end of file