X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Forg%2Fxwt%2Fbuiltin%2Fsplash.xwt;h=6f44ccaebf7aa6d47d24797cec90bbd7196412f4;hb=6a96430e10e27fc1de5754cb5add705f929dd109;hp=fa07d9575535da90d47328ab117f929b75c32c53;hpb=16ea48d834626fb9815da2f7632c3633838fb790;p=org.ibex.core.git diff --git a/src/org/xwt/builtin/splash.xwt b/src/org/xwt/builtin/splash.xwt index fa07d95..6f44cca 100644 --- a/src/org/xwt/builtin/splash.xwt +++ b/src/org/xwt/builtin/splash.xwt @@ -27,14 +27,16 @@ var new_xwt = xwt.clone(new_rr); xwt.thread = function() { -for(var i=0; 100>i; i++) { progress(i, 100); xwt.sleep(100); } - xwt.yield(); +for(var i=0; 100>i; i++) { +progress(i, 100); +xwt.yield(); +} new_xwt.apply(xwt.box, new_xwt["main.xwt"]); thisbox = null; } } - +