X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fbuiltin%2Fsplash.xwt;h=014e4434092b008356bfe1890f4d5966633a9417;hb=163ff4c57ec557bb8615f80e875f045cdfbad696;hp=a62061cd51b1589c89b52644f278e85008f63ff6;hpb=75b9e1e72f6067e59a1e5312c91d20d05ec8a927;p=org.ibex.core.git diff --git a/src/org/xwt/builtin/splash.xwt b/src/org/xwt/builtin/splash.xwt index a62061c..014e443 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"); }